summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-09 12:29:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-10 13:33:12 +0100
commit83eacdcf13217b0aedad6e1298609440266a3291 (patch)
tree212d2ef53d19abeef0995f9a87a902c24db7cd89 /bitbake
parent1a3a1f1e4257ab0210bec65659bfb395d6986666 (diff)
downloadpoky-83eacdcf13217b0aedad6e1298609440266a3291.tar.gz
bitbake/ui/knotty: Ensure 'No Provider' errors set an exit code
If a No Provider error is shown we need to set the exit code to show an error occured too. [YOCTO #1322] (Bitbake rev: 4d4e01aa3e38d809617e8c1bbaa081182a2308a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/knotty.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index b7abdf8943..63b8dc6c5a 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -199,6 +199,7 @@ def main(server, eventHandler):
199 logger.info("consider defining a PREFERRED_PROVIDER entry to match %s", event._item) 199 logger.info("consider defining a PREFERRED_PROVIDER entry to match %s", event._item)
200 continue 200 continue
201 if isinstance(event, bb.event.NoProvider): 201 if isinstance(event, bb.event.NoProvider):
202 return_value = 1
202 if event._runtime: 203 if event._runtime:
203 r = "R" 204 r = "R"
204 else: 205 else: