[OE-core] [PATCH 4/7] sanity.bbclass: Prevent 'vdi' and 'live' to be built together
Juro Bystricky
juro.bystricky at intel.com
Wed Jun 3 18:07:26 UTC 2015
Same reason and check as for vmdk.
Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
meta/classes/sanity.bbclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 32e9b82..c0c06e7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -825,6 +825,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):
--
1.9.1
More information about the Openembedded-core
mailing list