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 | |
parent | 231b5f67844da39949e04ae53557cea04aacffdd (diff) | |
download | poky-64b04685b6fd029f2f70f7017bfd51d26ccb0d11.tar.gz |
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')
-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 a334c2977e..031fa71578 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): | |||
120 | 120 | ||
121 | if event[0] == 'bb.command.CookerCommandCompleted': | 121 | if event[0] == 'bb.command.CookerCommandCompleted': |
122 | break | 122 | break |
123 | if event[0] == 'bb.command.CookerCommandSetExitCode': | ||
124 | return_value = event[1]['exitcode'] | ||
125 | continue | ||
123 | if event[0] == 'bb.command.CookerCommandFailed': | 126 | if event[0] == 'bb.command.CookerCommandFailed': |
124 | return_value = 1 | 127 | return_value = 1 |
125 | print "Command execution failed: %s" % event[1]['error'] | 128 | print "Command execution failed: %s" % event[1]['error'] |