summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
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:01:07 +0100
commitedf3f52c05d86d49b71770cdafde583213e2034d (patch)
treefbf9a237ad1ca35703d591c004289fb07971df08 /lib/bb/cooker.py
parentf25322de7e47719b31808397174e5c4f6d8649f2 (diff)
downloadbitbake-edf3f52c05d86d49b71770cdafde583213e2034d.tar.gz
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] Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index f009210f7..97210ba4e 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1155,11 +1155,11 @@ class BBCooker:
if topdir in base_image:
base_image = require_line.split()[1]
imagefile.write("require " + base_image + "\n")
- package_install = "PACKAGE_INSTALL_forcevariable = \""
+ image_install = "IMAGE_INSTALL = \""
for package in package_queue:
- package_install += str(package) + " "
- package_install += "\"\n"
- imagefile.write(package_install)
+ image_install += str(package) + " "
+ image_install += "\"\n"
+ imagefile.write(image_install)
description_var = "DESCRIPTION = \"" + description + "\"\n"
imagefile.write(description_var)