summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-09 14:25:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:13:06 +0000
commitb322dec01642a61584a11638a97341126dc3dd3f (patch)
tree8d120b3aba3524173c07fb6cb5c081ded48299f1 /bitbake
parent0274b68450ce3b27c074c6f7af7f41a4886f45cd (diff)
downloadpoky-b322dec01642a61584a11638a97341126dc3dd3f.tar.gz
bitbake: toasterui: process SetBRBE event
Currently BRBE is known to toasterui only when build is started. It's passed to it with BuildStarted event. This is too late as if build fails earilier than build starts toasterui can not inform Toaster about the failure. Set BRBE as soon as it's provided by Toaster. This should make toasterui to be able to inform Toaster about early build failures, e.g. failures during recipe parsing. (Bitbake rev: d7819508dac488a64be3caec88db285cda9599ab) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 435cc2b304..0265df7b3e 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -363,6 +363,8 @@ def main(server, eventHandler, params):
363 buildinfohelper.update_artifact_image_file(event) 363 buildinfohelper.update_artifact_image_file(event)
364 elif event.type == "LicenseManifestPath": 364 elif event.type == "LicenseManifestPath":
365 buildinfohelper.store_license_manifest_path(event) 365 buildinfohelper.store_license_manifest_path(event)
366 elif event.type == "SetBRBE":
367 buildinfohelper.brbe = buildinfohelper._get_data_from_event(event)
366 else: 368 else:
367 logger.error("Unprocessed MetadataEvent %s ", str(event)) 369 logger.error("Unprocessed MetadataEvent %s ", str(event))
368 continue 370 continue