diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2020-02-15 04:29:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 11:25:32 +0000 |
commit | 40520d229c8ea51ee9784184ab5d13a82dd1eb61 (patch) | |
tree | 37ace5a13a9f5c18e018c69eaa8fa3d85e896d24 /lib | |
parent | 5d98d8e39bba42f458532b1eef3619f2321d8a2b (diff) | |
download | bitbake-40520d229c8ea51ee9784184ab5d13a82dd1eb61.tar.gz |
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@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/ui/knotty.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index a0340dfc2..cbb289b05 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 |