Skip to content

toaster: allow setEventMask to be called by bitbake observer

brian avery bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7toasterui: reformat list of eventslib/bb/ui/toasterui.py+27 -90 replies
2/7toasterui: update list of eventslib/bb/ui/toasterui.py+12 -150 replies
3/7command: make setEventMask readonlylib/bb/command.py+1 -00 replies
4/7toasterui: check if setEventMask succeededlib/bb/ui/toasterui.py+4 -20 replies
5/7toasterui: make toasterui to work in build modelib/bb/ui/toasterui.py+17 -20 replies
6/7toasterui: exit on final eventslib/bb/ui/toasterui.py+4 -10 replies
7/7toasterui: fix warning 'Unknown event'lib/bb/ui/toasterui.py+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] toaster: allow setEventMask to be called by bitbake observer

This patchset is a preparation for the #7880 fix. This will allow the toasterui to work in build mode, i.e. with bitbake <target> -u toasterui.

If you want to test this functionality you can do the following:
- start Toaster
- kill bitbake server and observer processes
- unset BBSERVER
- add INHERIT+="toaster buildhistory" line to conf/local.conf
- run bitbake <target> -u toasterui

Expected outcome: you should see commandline build in UI without bitbake server
and observer running.

Also, I've discovered nasty bug in handling setEventMask by bitbake server while working on this. It causes ignoring of the event mask set by toasterui. The result of this is that list of events in _ev_list variable is different from the actual list of events processed by toasterui.

Upstreamed for Ed,
-bavery

The following changes since commit ffce6a18876c3a0c949eb75f0ce2f9dc36054c83:

toaster: remove sshbecontroller module (2016-03-02 20:31:08 -0800)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib bavery/submit/ed/toaster/toasterui-in-build-mode
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/submit/ed/toaster/toasterui-in-build-mode

Ed Bartosh (7):
toasterui: reformat list of events
toasterui: update list of events
command: make setEventMask readonly
toasterui: check if setEventMask succeeded
toasterui: make toasterui to work in build mode
toasterui: exit on final events
toasterui: fix warning 'Unknown event'

 lib/bb/command.py      |  1 +
 lib/bb/ui/toasterui.py | 90 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 64 insertions(+), 27 deletions(-)

--
1.9.1