diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-01 20:14:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-05 14:00:26 +0100 |
commit | c15d4a2ddef8b452b03209ccb207f767ae93af39 (patch) | |
tree | 9b93957f074dfea05ead5b5404d7c49f08053d7e /bitbake/lib/bb/ui/crumbs/builder.py | |
parent | 7b560745f23d862cc3e48748b56bc8ce4ce84f72 (diff) | |
download | poky-c15d4a2ddef8b452b03209ccb207f767ae93af39.tar.gz |
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 <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 4 |
1 files changed, 3 insertions, 1 deletions
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: | |||
68 | self.selected_recipes = [] | 68 | self.selected_recipes = [] |
69 | self.selected_packages = [] | 69 | self.selected_packages = [] |
70 | 70 | ||
71 | self.user_selected_packages = [] | ||
72 | |||
71 | # proxy settings | 73 | # proxy settings |
72 | self.all_proxy = params["all_proxy"] | 74 | self.all_proxy = params["all_proxy"] |
73 | self.http_proxy = params["http_proxy"] | 75 | self.http_proxy = params["http_proxy"] |
@@ -157,7 +159,7 @@ class Configuration: | |||
157 | self.selected_image = filename | 159 | self.selected_image = filename |
158 | template.setVar("__SELECTED_IMAGE__", self.selected_image) | 160 | template.setVar("__SELECTED_IMAGE__", self.selected_image) |
159 | template.setVar("DEPENDS", self.selected_recipes) | 161 | template.setVar("DEPENDS", self.selected_recipes) |
160 | template.setVar("IMAGE_INSTALL", self.selected_packages) | 162 | template.setVar("IMAGE_INSTALL", self.user_selected_packages) |
161 | # proxy | 163 | # proxy |
162 | template.setVar("all_proxy", self.all_proxy) | 164 | template.setVar("all_proxy", self.all_proxy) |
163 | template.setVar("http_proxy", self.http_proxy) | 165 | template.setVar("http_proxy", self.http_proxy) |