Hob: Improve for init a new build
After a successful build, user can initiate a new build by clicking "Build a new image" button. The previous solution is simply switch to the first screen and unset MACHINE. This commit will try to re-init everything for the new build. (Bitbake rev: df63e15c41d129fe0cff6b8ab3c97434c4809c83) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1da504536a
commit
72bc345f85
|
@ -946,7 +946,9 @@ class Builder(gtk.Window):
|
|||
self.switch_page(self.RECIPE_SELECTION)
|
||||
|
||||
def initiate_new_build(self):
|
||||
self.configuration.curr_mach = ""
|
||||
self.handler.init_cooker()
|
||||
self.handler.set_extra_inherit("image_types")
|
||||
self.handler.parse_config()
|
||||
self.image_configuration_page.switch_machine_combo()
|
||||
self.switch_page(self.MACHINE_SELECTION)
|
||||
|
||||
|
|
Loading…
Reference in New Issue