]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: remove conflict checking for image vm and live
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 24 Feb 2016 09:23:59 +0000 (01:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2016 23:08:07 +0000 (23:08 +0000)
[YOCTO #9161]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass

index 52581f6ba74e3f4a06508c112b0c5c41fa9a31b9..cdb28995c615c6752c9c930e74f9181f9b0728b5 100644 (file)
@@ -901,18 +901,6 @@ def check_sanity_everybuild(status, d):
         with open(checkfile, "w") as f:
             f.write(tmpdir)
 
-    # Check vmdk and live can't be built together.
-    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")
-
-    # Check qcow2 and live can't be built together.
-    if 'qcow2' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
-        status.addresult("Error, IMAGE_FSTYPES qcow2 and live can't be built together\n")
-
     # Check /bin/sh links to dash or bash
     real_sh = os.path.realpath('/bin/sh')
     if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'):