From c15d4a2ddef8b452b03209ccb207f767ae93af39 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Sun, 1 Apr 2012 20:14:18 +0800 Subject: Hob: fix IMAGE_INSTALL setting while save template If save every selected package into IMAGE_INSTALL field, and then build the saved bb file by bitbake command line, it will report errors since some packages could not be found since they are dynamically generated. With this commit, Hob will only save those packages into the IMAGE_INSTALL variable which are brought in by user. (Bitbake rev: 6c970d07422bb9a8fcf339315587cfc9b207a44e) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/builder.py') diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 8427623b37..9c2dd167cb 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -68,6 +68,8 @@ class Configuration: self.selected_recipes = [] self.selected_packages = [] + self.user_selected_packages = [] + # proxy settings self.all_proxy = params["all_proxy"] self.http_proxy = params["http_proxy"] @@ -157,7 +159,7 @@ class Configuration: self.selected_image = filename template.setVar("__SELECTED_IMAGE__", self.selected_image) template.setVar("DEPENDS", self.selected_recipes) - template.setVar("IMAGE_INSTALL", self.selected_packages) + template.setVar("IMAGE_INSTALL", self.user_selected_packages) # proxy template.setVar("all_proxy", self.all_proxy) template.setVar("http_proxy", self.http_proxy) -- cgit v1.2.3-54-g00ecf