summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/ui
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:33:14 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:33:14 +0100
commit64b04685b6fd029f2f70f7017bfd51d26ccb0d11 (patch)
tree5d525e2b58e5a9b27ea3096a0047770446baaf29 /bitbake-dev/lib/bb/ui
parent231b5f67844da39949e04ae53557cea04aacffdd (diff)
downloadpoky-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.py3
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']