diff options
author | Shane Wang <shane.wang@intel.com> | 2012-03-29 20:54:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 21:25:54 +0100 |
commit | 1ea547c1544c909a5fd6cba68543dcaf6e86e3b1 (patch) | |
tree | 9a0691117e79fd320a3605a41466a64b54e5ab9f | |
parent | 00e262e49010cf9d05dccc3b27a972206b9ba1ac (diff) | |
download | ast2050-yocto-poky-1ea547c1544c909a5fd6cba68543dcaf6e86e3b1.zip ast2050-yocto-poky-1ea547c1544c909a5fd6cba68543dcaf6e86e3b1.tar.gz |
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>
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 9dd73da..c855f67 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -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): diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 7d53e30..a329380 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py @@ -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 = [] |