mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
sanity.bbclass: remove conflict checking for image vm and live
[YOCTO #9161] (From OE-Core rev: f350bedf745b356a74e3a15d82055472796580fe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bb1c719250
commit
86759deb5c
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user