From: Cristiana Voicu Date: Tue, 16 Jul 2013 13:35:22 +0000 (+0000) Subject: bitbake: cooker: save packages in IMAGE_INSTALL instead of PACKAGE_INSTALL X-Git-Tag: rev_ivi_2015_02_04~11523 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6aaf8346ce6ceff1a50b4c8df4472f4c307bccde;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index f009210..97210ba 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/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)