bitbake: toasterui: exit on final events
Toasterui exits only if bitbake observer shuts down. In build mode it should exit when build is done. Made toasterui exit on bb.command.CommandCompleted, bb.command.CommandFailed and bb.command.CommandExit events when it's running in build mode. (Bitbake rev: b11f9d6d3c2eb615335901e1dcea699daf3afb4c) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8e138b7f2a
commit
621cbc86c9
|
@ -388,7 +388,10 @@ def main(server, eventHandler, params):
|
|||
if isinstance(event, (bb.command.CommandCompleted,
|
||||
bb.command.CommandFailed,
|
||||
bb.command.CommandExit)):
|
||||
errorcode = 0
|
||||
if params.observe_only:
|
||||
errorcode = 0
|
||||
else:
|
||||
main.shutdown = 1
|
||||
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue