From e665de5500ab1b44fd59dab897c736c62f487ff2 Mon Sep 17 00:00:00 2001 From: Marius Avram Date: Wed, 12 Mar 2014 14:03:49 +0200 Subject: 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 --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 9cb74d1818..07202e3392 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: -- cgit v1.2.3-54-g00ecf