diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2020-02-15 04:29:53 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-04-19 09:07:19 -0700 |
commit | 2283e0d1fa9a50f50ed5b36aee4543e342d5c78b (patch) | |
tree | 50124d6aa449789d904fe219eef8fef34ff09474 | |
parent | 6836184ef5220488a1127413c7d2e523fc37e2e9 (diff) | |
download | bitbake-contrib-2283e0d1fa9a50f50ed5b36aee4543e342d5c78b.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>
(cherry picked from commit 40520d229c8ea51ee9784184ab5d13a82dd1eb61)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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 c6abb2a11..5402f7c9f 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -591,6 +591,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 |