diff options
author | Marius Avram <marius.avram@intel.com> | 2014-03-12 14:03:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-14 07:25:40 -0700 |
commit | e665de5500ab1b44fd59dab897c736c62f487ff2 (patch) | |
tree | 8f5a12d82570421aec46ea12ec551e39249cfcd7 /bitbake/lib/bb/cooker.py | |
parent | d3d3a2c6ba71767e49a5b62fe74bf3b47688b911 (diff) | |
download | poky-e665de5500ab1b44fd59dab897c736c62f487ff2.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
1235 | 1235 | ||
1236 | with open(dest, "w") as imagefile: | 1236 | with open(dest, "w") as imagefile: |
1237 | if base_image is None: | 1237 | if base_image is None: |
1238 | imagefile.write("inherit image\n") | 1238 | imagefile.write("inherit core-image\n") |
1239 | else: | 1239 | else: |
1240 | topdir = self.data.getVar("TOPDIR") | 1240 | topdir = self.data.getVar("TOPDIR") |
1241 | if topdir in base_image: | 1241 | if topdir in base_image: |