[oe-commits] [bitbake] 01/03: knotty: Make the bb.command.CommandExit event terminate bitbake
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 17 13:15:40 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 39cf3d1768656f59b4cefa51ad9eff48bb19378d
Author: Peter Kjellerstedt <pkj at axis.com>
AuthorDate: Sat Feb 15 04:29:53 2020 +0100
knotty: Make the bb.command.CommandExit event terminate bitbake
This matches the other bb.command.Command* events and without it,
running `bitbake --revisions-changed` will hang indefinitely if there
are changed revisions.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/ui/knotty.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index a0340df..cbb289b 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -590,6 +590,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if isinstance(event, bb.command.CommandExit):
if not return_value:
return_value = event.exitcode
+ main.shutdown = 2
continue
if isinstance(event, (bb.command.CommandCompleted, bb.cooker.CookerExit)):
main.shutdown = 2
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list