summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/runningbuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index 2399ff3943..bf72e2a725 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -239,6 +239,12 @@ class RunningBuild (gobject.GObject):
239 else: 239 else:
240 self.emit ("build-succeeded") 240 self.emit ("build-succeeded")
241 241
242 elif isinstance(event, bb.command.CommandFailed):
243 if event.error.startswith("Exited with"):
244 # If the command fails with an exit code we're done, emit the
245 # generic signal for the UI to notify the user
246 self.emit("build-complete")
247
242 elif isinstance(event, bb.event.CacheLoadStarted) and pbar: 248 elif isinstance(event, bb.event.CacheLoadStarted) and pbar:
243 pbar.set_title("Loading cache") 249 pbar.set_title("Loading cache")
244 self.progress_total = event.total 250 self.progress_total = event.total