]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: bitbake: cooker: some IMAGE_FEATURES not recognized
authorMarius Avram <marius.avram@intel.com>
Wed, 12 Mar 2014 12:03:49 +0000 (14:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Mar 2014 14:25:40 +0000 (07:25 -0700)
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 <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py

index 9cb74d1818bb91409c5d02e66abb920e7c3f6362..07202e339297cc26a10b234b31fc2933144745e6 100644 (file)
@@ -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: