[OE-core] [RFC][PATCH 5/6] image.bbclass: include IMAGE_MODE support
Patrick Ohly
patrick.ohly at intel.com
Mon May 15 13:27:02 UTC 2017
Inheriting image-mode.bbclass does not change anything by default, but
ensures that the variable is getting checked consistently in all image
recipes and distros when it gets set.
Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
meta/classes/image.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 405fd73..976db0d 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -20,6 +20,9 @@ INHIBIT_DEFAULT_DEPS = "1"
TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}"
inherit ${TESTIMAGECLASS}
+# Add support for IMAGE_MODE.
+inherit image-mode
+
# IMAGE_FEATURES may contain any available package group
IMAGE_FEATURES ?= ""
IMAGE_FEATURES[type] = "list"
--
git-series 0.9.1
More information about the Openembedded-core
mailing list