diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-29 14:33:14 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-29 14:33:14 +0100 |
commit | 64b04685b6fd029f2f70f7017bfd51d26ccb0d11 (patch) | |
tree | 5d525e2b58e5a9b27ea3096a0047770446baaf29 /bitbake-dev/lib/bb/ui/knotty.py | |
parent | 231b5f67844da39949e04ae53557cea04aacffdd (diff) | |
download | openembedded-core-64b04685b6fd029f2f70f7017bfd51d26ccb0d11.tar.gz openembedded-core-64b04685b6fd029f2f70f7017bfd51d26ccb0d11.tar.bz2 openembedded-core-64b04685b6fd029f2f70f7017bfd51d26ccb0d11.tar.xz openembedded-core-64b04685b6fd029f2f70f7017bfd51d26ccb0d11.zip |
bitbake: Add a --revisions-changed commandline option to indicate when floating srcrevs have changed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake-dev/lib/bb/ui/knotty.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py index a334c2977..031fa7157 100644 --- a/bitbake-dev/lib/bb/ui/knotty.py +++ b/bitbake-dev/lib/bb/ui/knotty.py @@ -120,6 +120,9 @@ def init(server, eventHandler): if event[0] == 'bb.command.CookerCommandCompleted': break + if event[0] == 'bb.command.CookerCommandSetExitCode': + return_value = event[1]['exitcode'] + continue if event[0] == 'bb.command.CookerCommandFailed': return_value = 1 print "Command execution failed: %s" % event[1]['error'] |