1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Richard Purdie
2011-08-09 12:29:17 +01:00
parent 1a3a1f1e42
commit 83eacdcf13
+1
View File
@@ -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: