summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorIrina Patru <irina.patru@intel.com>2014-01-21 17:59:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:52:57 +0000
commitd24611228e07fc32e0310a9ed345ab75943f25b4 (patch)
treecaea52fc165f19c0ed71c8b4964e78eaa4ab307c /bitbake/lib
parent1b6e11cdcb8f49da80925e2bba80873c4e9972c6 (diff)
downloadpoky-d24611228e07fc32e0310a9ed345ab75943f25b4.tar.gz
bitbake: hob: don't display interruptions as fails
When Hob receives a bb.command.CommandFailed event, it should check if it's a log kind of information. "Forced shutdown" and "Stopped build" are messages that show when a build is not complete, but Hob considered them error. [HOB #5609] (Bitbake rev: ea1939f7ec8d8a71ce16a60c251c2413d7d91eb3) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index a3bd264fa4..379232849b 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -250,7 +250,8 @@ class HobHandler(gobject.GObject):
250 self.current_phase = None 250 self.current_phase = None
251 self.run_next_command() 251 self.run_next_command()
252 elif isinstance(event, bb.command.CommandFailed): 252 elif isinstance(event, bb.command.CommandFailed):
253 self.error_msg += event.error 253 if event.error not in ("Forced shutdown", "Stopped build"):
254 self.error_msg += event.error
254 self.commands_async = [] 255 self.commands_async = []
255 self.display_error() 256 self.display_error()
256 elif isinstance(event, (bb.event.ParseStarted, 257 elif isinstance(event, (bb.event.ParseStarted,