Skip to content

Commit

Permalink
bb/ui/hob: fix package only build
Browse files Browse the repository at this point in the history
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]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
joshuagl authored and koenkooi committed Aug 24, 2011
1 parent a15d400 commit 112cfba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bitbake/lib/bb/ui/hob.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def image_changed_cb(self, combo):
self.toggle_package(path, model, image=True)
if len(userp):
self.model.set_selected_packages(userp)
self.selected_image = model[path][self.model.COL_NAME]

def reload_triggered_cb(self, handler, image, packages):
if image:
Expand Down Expand Up @@ -451,7 +452,7 @@ def bake_clicked_cb(self, button):

self.handler.build_image(image_name, self.configurator)
else:
self.handler.build_packages(rep.allpkgs.split(" "))
self.handler.build_packages(self.model.get_selected_pn())

self.nb.set_current_page(1)

Expand Down

0 comments on commit 112cfba

Please sign in to comment.