summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 1163cba5b0..0b5b31808c 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -54,11 +54,13 @@ class HobHandler(gobject.GObject):
54 gobject.TYPE_NONE, 54 gobject.TYPE_NONE,
55 (gobject.TYPE_STRING, 55 (gobject.TYPE_STRING,
56 gobject.TYPE_STRING,)), 56 gobject.TYPE_STRING,)),
57 "command-failed" : (gobject.SIGNAL_RUN_LAST,
58 gobject.TYPE_NONE,
57 (gobject.TYPE_STRING,)), 59 (gobject.TYPE_STRING,)),
58 "reload-triggered" : (gobject.SIGNAL_RUN_LAST, 60 "reload-triggered" : (gobject.SIGNAL_RUN_LAST,
59 gobject.TYPE_NONE, 61 gobject.TYPE_NONE,
60 (gobject.TYPE_STRING, 62 (gobject.TYPE_STRING,
61 gobject.TYPE_STRING)), 63 gobject.TYPE_STRING,)),
62 } 64 }
63 65
64 (CFG_PATH_LOCAL, CFG_PATH_HOB, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDK, FILES_MATCH_CLASS, GENERATE_TGTS, REPARSE_FILES, BUILD_IMAGE) = range(10) 66 (CFG_PATH_LOCAL, CFG_PATH_HOB, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDK, FILES_MATCH_CLASS, GENERATE_TGTS, REPARSE_FILES, BUILD_IMAGE) = range(10)
@@ -172,6 +174,7 @@ class HobHandler(gobject.GObject):
172 self.current_phase = None 174 self.current_phase = None
173 self.run_next_command() 175 self.run_next_command()
174 elif isinstance(event, bb.command.CommandFailed): 176 elif isinstance(event, bb.command.CommandFailed):
177 self.emit("command-failed", event.error)
175 elif isinstance(event, bb.event.CacheLoadStarted): 178 elif isinstance(event, bb.event.CacheLoadStarted):
176 self.current_phase = "cache loading" 179 self.current_phase = "cache loading"
177 bb.ui.crumbs.hobeventhandler.progress_total = event.total 180 bb.ui.crumbs.hobeventhandler.progress_total = event.total