diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-10-07 13:20:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-11 08:11:28 +0100 |
commit | 7794b5728d923933d27f57f0f6829404da242198 (patch) | |
tree | b918ac8b5f08feb033ba9c3e607756776b4565d2 /bitbake/bin/bitbake-diffsigs | |
parent | 8c695393cdcd17150d0cdbb07013ab6267428599 (diff) | |
download | poky-7794b5728d923933d27f57f0f6829404da242198.tar.gz |
bitbake: toaster: Hide "Download build log" button if log doesn't exist
Our builds pages show all builds, but also include build requests
which may have resulted in a build failure, before the build
started (e.g. at the recipe parsing stage).
In such cases, the BuildStarted event is not captured by Toaster,
so we have no idea where the log file for the failed build is.
The result is that a build is shown by the Toaster UI /builds/ pages,
but it is really a pretend build which never went beyond being a
build request, and which has no associated log file. In turn, this
breaks the "Download build log" button on the build dashboard,
as there's no log file associated with the build.
Fix this by hiding the "Download build log" button for builds
which don't have a cooker_log_path.
[YOCTO #8373]
(Bitbake rev: 89e6cd03aa11c886f28520557af6c7ad51827b0e)
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/bin/bitbake-diffsigs')
0 files changed, 0 insertions, 0 deletions