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.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index f6848fd8bf..78fa1417f5 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -88,6 +88,9 @@ class RunningBuild (gobject.GObject):
88 'log-warning' : (gobject.SIGNAL_RUN_LAST, 88 'log-warning' : (gobject.SIGNAL_RUN_LAST,
89 gobject.TYPE_NONE, 89 gobject.TYPE_NONE,
90 ()), 90 ()),
91 'disk-full' : (gobject.SIGNAL_RUN_LAST,
92 gobject.TYPE_NONE,
93 ()),
91 'no-provider' : (gobject.SIGNAL_RUN_LAST, 94 'no-provider' : (gobject.SIGNAL_RUN_LAST,
92 gobject.TYPE_NONE, 95 gobject.TYPE_NONE,
93 (gobject.TYPE_PYOBJECT,)), 96 (gobject.TYPE_PYOBJECT,)),
@@ -290,6 +293,7 @@ class RunningBuild (gobject.GObject):
290 # Emit the appropriate signal depending on the number of failures 293 # Emit the appropriate signal depending on the number of failures
291 if self.buildaborted: 294 if self.buildaborted:
292 self.emit ("build-aborted") 295 self.emit ("build-aborted")
296 self.buildaborted = False
293 elif (failures >= 1): 297 elif (failures >= 1):
294 self.emit ("build-failed") 298 self.emit ("build-failed")
295 else: 299 else:
@@ -304,6 +308,7 @@ class RunningBuild (gobject.GObject):
304 308
305 elif isinstance(event, bb.event.DiskFull): 309 elif isinstance(event, bb.event.DiskFull):
306 self.buildaborted = True 310 self.buildaborted = True
311 self.emit("disk-full")
307 312
308 elif isinstance(event, bb.command.CommandFailed): 313 elif isinstance(event, bb.command.CommandFailed):
309 self.emit("log", "error", "Command execution failed: %s" % (event.error)) 314 self.emit("log", "error", "Command execution failed: %s" % (event.error))