diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-07 13:31:05 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-07 13:31:05 +0000 |
commit | 5be6bb070bd726e085ca8a69b80f65519d33ca1f (patch) | |
tree | 59e5d37ba05d48462dab392948396d51789f1e27 /bitbake-dev | |
parent | f3a6210e9333719fbc2a0143903123ee0ddceffe (diff) | |
download | openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.gz openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.bz2 openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.xz openembedded-core-5be6bb070bd726e085ca8a69b80f65519d33ca1f.zip |
bitbake-dev: Handle fatal events correctly
Diffstat (limited to 'bitbake-dev')
-rw-r--r-- | bitbake-dev/lib/bb/ui/knotty.py | 4 |
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 4b4d6b03a..7793a5309 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 |