diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-18 14:45:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 10:00:33 -0700 |
commit | a17e6c4a2ebb3af6f8c7201b946304fd06602c24 (patch) | |
tree | 37df0119a59aea0c0a6179d35f430d5cd3aee3b6 /bitbake/lib/bb/ui/hob.py | |
parent | 4ea4f4464573d82971e8097205e0a47d18e3975a (diff) | |
download | poky-a17e6c4a2ebb3af6f8c7201b946304fd06602c24.tar.gz |
bb/ui/hob: fix package only build
Use the models new get_selected_pn method to return a list of PN's for the
selected items and pass that for a package only build, rather than passing
a list of package names (which buildTargets can't handle).
Fixes [YOCTO #1385]
(Bitbake rev: c969857c7f5963098e6584803eafb4e2be0eea46)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 0230ddaea0..e02f48c93d 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -174,6 +174,7 @@ class MainWindow (gtk.Window): | |||
174 | self.toggle_package(path, model, image=True) | 174 | self.toggle_package(path, model, image=True) |
175 | if len(userp): | 175 | if len(userp): |
176 | self.model.set_selected_packages(userp) | 176 | self.model.set_selected_packages(userp) |
177 | self.selected_image = model[path][self.model.COL_NAME] | ||
177 | 178 | ||
178 | def reload_triggered_cb(self, handler, image, packages): | 179 | def reload_triggered_cb(self, handler, image, packages): |
179 | if image: | 180 | if image: |
@@ -451,7 +452,7 @@ class MainWindow (gtk.Window): | |||
451 | 452 | ||
452 | self.handler.build_image(image_name, self.configurator) | 453 | self.handler.build_image(image_name, self.configurator) |
453 | else: | 454 | else: |
454 | self.handler.build_packages(rep.allpkgs.split(" ")) | 455 | self.handler.build_packages(self.model.get_selected_pn()) |
455 | 456 | ||
456 | self.nb.set_current_page(1) | 457 | self.nb.set_current_page(1) |
457 | 458 | ||