Hob: clear the building state after a successful build, as a failed build does
(Bitbake rev: afd51c524006e8e6db1542cc2ebc5decab3faa1b) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
00e262e490
commit
1ea547c154
|
@ -632,6 +632,7 @@ class Builder(gtk.Window):
|
|||
elif self.current_step == self.PACKAGE_GENERATING:
|
||||
fraction = 1.0
|
||||
self.build_details_page.update_progress_bar("Build Completed: ", fraction)
|
||||
self.handler.build_succeeded_async()
|
||||
self.stopping = False
|
||||
|
||||
def build_failed(self):
|
||||
|
|
|
@ -358,6 +358,9 @@ class HobHandler(gobject.GObject):
|
|||
self.commands_async.append(self.SUB_BUILD_IMAGE)
|
||||
self.run_next_command(self.GENERATE_IMAGE)
|
||||
|
||||
def build_succeeded_async(self):
|
||||
self.building = False
|
||||
|
||||
def build_failed_async(self):
|
||||
self.initcmd = None
|
||||
self.commands_async = []
|
||||
|
|
Loading…
Reference in New Issue