diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-10-29 13:59:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-29 22:05:36 +0000 |
commit | a0791c19db7d5b33ce7a4e3614a574ad4a319a84 (patch) | |
tree | 781a2469391bacf2f245a2a74acf25d4a7a39335 /bitbake/COPYING | |
parent | 290534d3ff53b3c0a50e480863474d1785088c5a (diff) | |
download | poky-a0791c19db7d5b33ce7a4e3614a574ad4a319a84.tar.gz |
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>
Diffstat (limited to 'bitbake/COPYING')
0 files changed, 0 insertions, 0 deletions