Skip to contentSkip to conversation

bitbake: cooker: some IMAGE_FEATURES not recognized

PATCH In review Marius Avram 2 participants 2 messages Mar 12, 2014 – Mar 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/lib/bb/cooker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cooker.py +1 -1
index 96f05b5..4de6a51 100644
@@ -1220,7 +1220,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:
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 18 lines · On Wednesday 12 March 2014 14:03:49 Marius Avram wrote:

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/lib/bb/cooker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cooker.py +0 -0
index 96f05b5..4de6a51 100644

bitbake/lib/bb/cooker.py class BBCooker: · line 1226

Quoted 8 lines
bitbake/lib/bb/cooker.py +1 -1
@@ -1220,7 +1220,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:
Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre