]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cooker: record events on cooker exit
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 5 Sep 2016 11:27:35 +0000 (14:27 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Sep 2016 09:36:34 +0000 (10:36 +0100)
commit57912de63fa83550c0ae658eb99b76e9cc91a8d1
treeecf6a72e412ca58e288674ca21cd740c77eedb9a
parent0f47b17fe88dc660648d94b2d8d8286d87ae6295
cooker: record events on cooker exit

Bitbake collects all events in special event queue when called with
-w option. However, it starts to write events to the eventlog only
after BuildStarted event is received. In some cases this event is
not received at all, e.g. when bitbake is run with --parse-only
command line option.

It makes sense to write all collected events when CookerExit event
received to make sure all events are written into the eventlog even
if BuildStarted event is not fired.

[YOCTO #10145]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py