diff options
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
| -rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 7d670bef6f..c9213cc89e 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
| @@ -237,14 +237,19 @@ def main(server, eventHandler, params): | |||
| 237 | if not (build_log and build_log_file_path): | 237 | if not (build_log and build_log_file_path): |
| 238 | build_log, build_log_file_path = _open_build_log(log_dir) | 238 | build_log, build_log_file_path = _open_build_log(log_dir) |
| 239 | 239 | ||
| 240 | buildinfohelper.store_started_build(build_log_file_path) | 240 | buildinfohelper.store_started_build() |
| 241 | buildinfohelper.save_build_log_file_path(build_log_file_path) | ||
| 241 | buildinfohelper.set_recipes_to_parse(event.total) | 242 | buildinfohelper.set_recipes_to_parse(event.total) |
| 242 | continue | 243 | continue |
| 243 | 244 | ||
| 244 | # create a build object in buildinfohelper from either BuildInit | 245 | # create a build object in buildinfohelper from either BuildInit |
| 245 | # (if available) or BuildStarted (for jethro and previous versions) | 246 | # (if available) or BuildStarted (for jethro and previous versions) |
| 246 | if isinstance(event, (bb.event.BuildStarted, bb.event.BuildInit)): | 247 | if isinstance(event, (bb.event.BuildStarted, bb.event.BuildInit)): |
| 247 | buildinfohelper.save_build_name_and_targets(event) | 248 | if not (build_log and build_log_file_path): |
| 249 | build_log, build_log_file_path = _open_build_log(log_dir) | ||
| 250 | |||
| 251 | buildinfohelper.save_build_targets(event) | ||
| 252 | buildinfohelper.save_build_log_file_path(build_log_file_path) | ||
| 248 | 253 | ||
| 249 | # get additional data from BuildStarted | 254 | # get additional data from BuildStarted |
| 250 | if isinstance(event, bb.event.BuildStarted): | 255 | if isinstance(event, bb.event.BuildStarted): |
