sanity.bbclass: Prevent 'vdi' and 'live' to be built together

Same reason and check as for vmdk.

(From OE-Core rev: deb7ee16cd04b03417a68d32d14b5b0ad3c59eca)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Juro Bystricky 2015-06-03 11:07:26 -07:00 committed by Richard Purdie
parent 11774198ef
commit fe0f643496
1 changed files with 5 additions and 0 deletions

View File

@ -831,6 +831,11 @@ def check_sanity_everybuild(status, d):
if 'vmdk' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
status.addresult("Error, IMAGE_FSTYPES vmdk and live can't be built together\n")
# Check vdi and live can't be built together.
if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n")
def check_sanity(sanity_data):
class SanityStatus(object):
def __init__(self):