[oe-commits] [bitbake] 01/08: knotty: Make the bb.command.CommandExit event terminate bitbake

git at git.openembedded.org git at git.openembedded.org
Wed Feb 19 11:26:42 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

commit 40520d229c8ea51ee9784184ab5d13a82dd1eb61
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