summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:31:05 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:31:05 +0000
commit5be6bb070bd726e085ca8a69b80f65519d33ca1f (patch)
tree59e5d37ba05d48462dab392948396d51789f1e27 /bitbake-dev/lib
parentf3a6210e9333719fbc2a0143903123ee0ddceffe (diff)
downloadopenembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.gz
openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.bz2
openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.zip
bitbake-dev: Handle fatal events correctly
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 4b4d6b03af..7793a53099 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -71,6 +71,10 @@ def init(server, eventHandler):
if event[0].startswith('bb.msg.MsgError'):
return_value = 1
print 'ERROR: ' + event[1]['_message']
+ break
+ if event[0].startswith('bb.msg.MsgFatal'):
+ return_value = 1
+ print 'FATAL: ' + event[1]['_message']
continue
if event[0].startswith('bb.build.TaskFailed'):
return_value = 1