generic-poky/bitbake
Elliot Smith a0791c19db bitbake: toasterui: Create per-build logs
Rather than relying on bug 8411, which is conveniently creating
separate log files for each of our builds, create our own
log file for each build.

The log files are created in the same tmp directories that
bitbake users, but are timestamped to the millisecond to avoid
name collisions.

Each log file is opened on a ParseStarted event (for builds
triggered by Toaster) or BuildStarted event (for builds on the
command line: Toaster doesn't get the ParseStarted event
for command-line builds).

The log file is closed on the BuildCompleted event, or if the
build fails.

Because we start logging on ParseStarted for Toaster builds,
we're able to capture the "Build Configuration" section which
bitbake writes to output.

[YOCTO #8373]

(Bitbake rev: 7974203cd8bc66dff1fcc55f8723dedefaf72840)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-29 22:05:36 +00:00
..
bin bitbake: toaster: exit or return depending on the mode 2015-10-16 14:13:23 +01:00
contrib bitbake: newbb.vim: remove PR 2014-08-19 20:41:26 +01:00
doc bitbake: bitbake-user-manual: Added new description for BB_TASK_IONICE_LEVEL 2015-10-29 07:35:51 +00:00
lib bitbake: toasterui: Create per-build logs 2015-10-29 22:05:36 +00:00
AUTHORS misc: Update the email address to a working one. 2011-01-04 14:36:54 +00:00
COPYING bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
ChangeLog *: Fix typo in documentation 2010-08-04 16:12:39 +01:00
HEADER bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
LICENSE bitbake: toaster: adding frameworks for the Simple UI 2013-10-18 11:13:49 +01:00
toaster-requirements.txt bitbake: toaster: Use Python's mimetypes module 2015-10-11 05:33:03 +01:00