summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index a8f3ceea7f..d4c98db9ea 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -52,7 +52,10 @@ def check_image_features(d):
52 features = set(oe.data.typed_value('IMAGE_FEATURES', d)) 52 features = set(oe.data.typed_value('IMAGE_FEATURES', d))
53 for feature in features: 53 for feature in features:
54 if feature not in valid_features: 54 if feature not in valid_features:
55 bb.fatal("'%s' in IMAGE_FEATURES is not a valid image feature. Valid features: %s" % (feature, ' '.join(valid_features))) 55 if bb.utils.contains('EXTRA_IMAGE_FEATURES', feature, True, False, d):
56 raise bb.parse.SkipRecipe("'%s' in IMAGE_FEATURES (added via EXTRA_IMAGE_FEATURES) is not a valid image feature. Valid features: %s" % (feature, ' '.join(valid_features)))
57 else:
58 raise bb.parse.SkipRecipe("'%s' in IMAGE_FEATURES is not a valid image feature. Valid features: %s" % (feature, ' '.join(valid_features)))
56 59
57IMAGE_INSTALL ?= "" 60IMAGE_INSTALL ?= ""
58IMAGE_INSTALL[type] = "list" 61IMAGE_INSTALL[type] = "list"