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 <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Marius Avram 2014-03-12 14:03:49 +02:00 committed by Richard Purdie
parent d3d3a2c6ba
commit e665de5500
1 changed files with 1 additions and 1 deletions

View 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: