generic-poky/bitbake/lib/bb/ui
Ed Bartosh d6992a8d69 bitbake: toasterui: shutdown on BuildCompleted event
toasterui exits event loop on one of the following events:
CommandCompleted, CommandFailed or CommandExit.
Unfortunately none of them come from bitbake when build fails.
This is normai if toasterui runs in observer mode. However, if it's
in build mode this causes toasterui to stuck in the infinite loop
waiting for new events.

The only event we can rely on is BuildCompleted as it always
comes from bitbake unlike 3 above mentioned events.

Modified the code to always shutdown toasterui in build mode
on BuildCompleted event.

(Bitbake rev: 9cd60f98b13cf7b1c518851a51e1cbaa596d8f81)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-06 23:10:28 +01:00
..
crumbs bitbake: ui: remove the puccho ui 2016-03-02 22:41:23 +00:00
icons bitbake: Add missing file that went out of sync 2013-06-12 13:13:21 +01:00
__init__.py Formatting cleanups 2010-07-02 15:41:32 +01:00
buildinfohelper.py bitbake: toaster: fix jethro build 2016-04-06 23:10:28 +01:00
depexp.py bitbake: depexp.py: Fix segfault if DISPLAY is not set 2015-02-16 09:09:43 +00:00
goggle.py bitbake: cooker: Rename confusing 'stop' state to 'forceshutdown' 2013-09-14 08:20:38 +01:00
knotty.py bitbake: bb.ui.knotty: prefix task messages with recipe/task 2016-02-16 09:04:23 +00:00
ncurses.py bitbake: ui/ncurses: Update ncurses ui to accept configParams 2014-12-23 10:18:21 +00:00
toasterui.py bitbake: toasterui: shutdown on BuildCompleted event 2016-04-06 23:10:28 +01:00
uievent.py bitbake: uievent: improve BBUIEventQueue code 2016-04-06 23:10:27 +01:00
uihelper.py bitbake: bitbake: BBUIHelper: Remove function findServerDetails 2016-01-30 11:43:56 +00:00