summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-07-16 13:35:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 13:02:26 +0100
commitecc56f204c0d5d192e21cd13859e7c1cfba6a7a9 (patch)
tree63f01a608aaf14543095e866a8523e84c5139d40 /bitbake
parentc83f8185a851c02469fa3ce928049b056c56509b (diff)
downloadpoky-ecc56f204c0d5d192e21cd13859e7c1cfba6a7a9.tar.gz
bitbake: cooker: save packages in IMAGE_INSTALL instead of PACKAGE_INSTALL
Hob retrieves the list of recipes and packages using the IMAGE_INSTALL variable, so a custom image should be saved using this variable. Changed how the image is saved in a bb file [YOCTO #4193] (Bitbake rev: edf3f52c05d86d49b71770cdafde583213e2034d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index f009210f75..97210ba4e3 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1155,11 +1155,11 @@ class BBCooker:
1155 if topdir in base_image: 1155 if topdir in base_image:
1156 base_image = require_line.split()[1] 1156 base_image = require_line.split()[1]
1157 imagefile.write("require " + base_image + "\n") 1157 imagefile.write("require " + base_image + "\n")
1158 package_install = "PACKAGE_INSTALL_forcevariable = \"" 1158 image_install = "IMAGE_INSTALL = \""
1159 for package in package_queue: 1159 for package in package_queue:
1160 package_install += str(package) + " " 1160 image_install += str(package) + " "
1161 package_install += "\"\n" 1161 image_install += "\"\n"
1162 imagefile.write(package_install) 1162 imagefile.write(image_install)
1163 1163
1164 description_var = "DESCRIPTION = \"" + description + "\"\n" 1164 description_var = "DESCRIPTION = \"" + description + "\"\n"
1165 imagefile.write(description_var) 1165 imagefile.write(description_var)