bitbake: hob/packageselectionpage: "Cancel" button returns to "Image configuration" screen

Once package building completes, you can customise the list of
packages that will go into the final image. Once you have made
the changes you need, you can either build your image, or you
can exit the process and go back to the 'Image configuration'
screen by selecting 'Cancel'.

[YOCTO #3105]
(Bitbake rev: c5fd1824c9794923576ec1e747536c0430542fd1)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristiana Voicu
2012-09-19 10:36:57 +03:00
committed by Richard Purdie
parent 3d6229535c
commit 1e8b535695

View File

@@ -188,7 +188,7 @@ class PackageSelectionPage (HobPage):
def back_button_clicked_cb(self, button):
if self.builder.current_step == self.builder.PACKAGE_GENERATED:
self.builder.show_recipes()
self.builder.show_configuration()
elif self.builder.previous_step == self.builder.IMAGE_GENERATED:
self.builder.restore_initial_selected_packages()
self.refresh_selection()