[bitbake-devel] [master][zeus][PATCH 1/3] knotty: Make the bb.command.CommandExit event terminate bitbake
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Mon Mar 16 11:19:26 UTC 2020
> -----Original Message-----
> From: bitbake-devel-bounces at lists.openembedded.org <bitbake-devel-
> bounces at lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> Sent: den 15 februari 2020 04:30
> To: bitbake-devel at lists.openembedded.org
> Subject: [bitbake-devel] [master][zeus][PATCH 1/3] 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>
> ---
> 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
Please backport the three patches in this set to Zeus now that they have
been integrated to master.
//Peter
More information about the bitbake-devel
mailing list