]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: vmdk and live can't be built together
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 19 Mar 2015 02:14:49 +0000 (19:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Mar 2015 09:42:41 +0000 (09:42 +0000)
commit521737f456b6ea7f7f153132c77cb74c08f088dc
tree07bd96e8c69b9bd06f1a50c712f16467072379aa
parentfa98c9c6038b22df406d4088252e76a0d2975199
sanity.bbclass: vmdk and live can't be built together

Both vmdk and live use syslinux, but they have different/conflicted
configurations, the main conflictions are:

                    vmdk                live
SYSLINUX_ROOT       root=/dev/sda2      root=/dev/ram0
SYSLINUX_LABELS     boot                boot install
INITRD              No                  yes

So it would make the boot menu strange and vmdk can't be boot, we need
add a few extra vars to fix the problem such as SYSLINUX_ROOT_VMDK
SYSLINUX_ROOT_LIVE, but that needs a lot of changes in the code, so just
add a sanity checking for it.

[YOCTO #6889]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass