diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-09 12:29:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-10 13:33:12 +0100 |
commit | 83eacdcf13217b0aedad6e1298609440266a3291 (patch) | |
tree | 212d2ef53d19abeef0995f9a87a902c24db7cd89 /bitbake | |
parent | 1a3a1f1e4257ab0210bec65659bfb395d6986666 (diff) | |
download | ast2050-yocto-poky-83eacdcf13217b0aedad6e1298609440266a3291.zip ast2050-yocto-poky-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.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index b7abdf8..63b8dc6 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -199,6 +199,7 @@ def main(server, eventHandler): logger.info("consider defining a PREFERRED_PROVIDER entry to match %s", event._item) continue if isinstance(event, bb.event.NoProvider): + return_value = 1 if event._runtime: r = "R" else: |