]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sanity.bbclass: Prevent 'vdi' and 'live' to be built together
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 3 Jun 2015 18:07:26 +0000 (11:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 22:59:13 +0000 (23:59 +0100)
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>
meta/classes/sanity.bbclass

index 698303743c4cd7eba2544f8ab90277335c71c21c..c66fd4a1cfa9d3626ab82421db8a26dfbc8a65c1 100644 (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):