summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-09-11 13:57:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-18 09:05:33 +0100
commit8c63d6049d221da0c5211f847ddf13e0e45dd459 (patch)
treebb232d14ffd21023902413797d33274e18d8dbc2 /bitbake/lib/bb/ui/toasterui.py
parent013c030c42710e1779167cc90a675b26caa377e6 (diff)
downloadpoky-8c63d6049d221da0c5211f847ddf13e0e45dd459.tar.gz
bitbake: toaster: Read correct cooker log path from toasterui
The BB_CONSOLELOG variable changes by the time we read it in BuildInfoHelper. This means that the log file location we are using is incorrect, so the links to the cooker logs don't work. Instead, read it at the point when the BuildStarted event occurs in toasterui. The BB_CONSOLELOG variable has the correct value here, so pass that to BuildInfoHelper. [YOCTO #8209] (Bitbake rev: 20609eebee0d2318806cf81913e7ce6dc1005507) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 9c7e87dd1e..e0c278bb3e 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -126,7 +126,7 @@ def main(server, eventHandler, params ):
126 # the code will look into the protected variables of the event; no easy way around this 126 # the code will look into the protected variables of the event; no easy way around this
127 127
128 if isinstance(event, bb.event.BuildStarted): 128 if isinstance(event, bb.event.BuildStarted):
129 buildinfohelper.store_started_build(event) 129 buildinfohelper.store_started_build(event, consolelogfile)
130 130
131 if isinstance(event, (bb.build.TaskStarted, bb.build.TaskSucceeded, bb.build.TaskFailedSilent)): 131 if isinstance(event, (bb.build.TaskStarted, bb.build.TaskSucceeded, bb.build.TaskFailedSilent)):
132 buildinfohelper.update_and_store_task(event) 132 buildinfohelper.update_and_store_task(event)