From: Marius Avram Date: Wed, 12 Mar 2014 12:03:49 +0000 (+0200) Subject: bitbake: bitbake: cooker: some IMAGE_FEATURES not recognized X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e665de5500ab1b44fd59dab897c736c62f487ff2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: bitbake: cooker: some IMAGE_FEATURES not recognized Fixes an issue in hob which happened when the local.conf file was modified externally by appending "eclipse-debug" to the IMAGE_FEATURES variable. The reason of the problem is that some IMAGE_FEATURES are not available in the image.bbclass file and they are declared in the core-image.bbclass. Now a default hob image will inherit core-image. [YOCTO #5711] (Bitbake rev: 81413d94f40f58d790d7a7dc4259108f9c5d4fc0) Signed-off-by: Marius Avram Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 9cb74d1818b..07202e33929 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1235,7 +1235,7 @@ class BBCooker: with open(dest, "w") as imagefile: if base_image is None: - imagefile.write("inherit image\n") + imagefile.write("inherit core-image\n") else: topdir = self.data.getVar("TOPDIR") if topdir in base_image: