All of lore.kernel.org
 help / color / mirror / Atom feed
* [master][zeus][PATCH 1/3] knotty: Make the bb.command.CommandExit event terminate bitbake
@ 2020-02-15  3:29 Peter Kjellerstedt
  2020-02-15  3:29 ` [master][zeus][PATCH 2/3] fetch2: Make fetcher_compare_revisions() work Peter Kjellerstedt
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Peter Kjellerstedt @ 2020-02-15  3:29 UTC (permalink / raw)
  To: bitbake-devel

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>
---
 bitbake/lib/bb/ui/knotty.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index a0340dfc20..cbb289b05f 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/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
-- 
2.21.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-03-22 18:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15  3:29 [master][zeus][PATCH 1/3] knotty: Make the bb.command.CommandExit event terminate bitbake Peter Kjellerstedt
2020-02-15  3:29 ` [master][zeus][PATCH 2/3] fetch2: Make fetcher_compare_revisions() work Peter Kjellerstedt
2020-02-15  3:29 ` [master][zeus][PATCH 3/3] fetch2: Allow ${AUTOREV} to be used when BB_SRCREV_POLICY is "cache" Peter Kjellerstedt
2020-03-21 21:44   ` Khem Raj
2020-03-21 23:50     ` [bitbake-devel] " Peter Kjellerstedt
2020-03-21 23:58       ` Khem Raj
2020-03-22  0:38         ` Peter Kjellerstedt
2020-03-22  1:27           ` Khem Raj
2020-03-22  6:19             ` Peter Kjellerstedt
2020-03-22  8:58               ` Richard Purdie
2020-03-22  8:56           ` Richard Purdie
2020-03-22 18:54             ` Khem Raj
2020-03-22  8:50       ` Richard Purdie
2020-03-16 11:19 ` [master][zeus][PATCH 1/3] knotty: Make the bb.command.CommandExit event terminate bitbake Peter Kjellerstedt
2020-03-19 14:24   ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.