mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
bitbake: toaster: trigger SetBRBE event
Triggered MetadataEvent "SetBRBE" when TOASTER_BRBE variable is set on bitbake server. This should make buildinfohelper aware of the build request id, which is used to properly report build status and failures back to Toaster. (Bitbake rev: 8b136fb093020bc912a7b21d5163e1cd5fb12124) 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>
This commit is contained in:
committed by
Richard Purdie
parent
fdb8e7433c
commit
0274b68450
@@ -287,6 +287,9 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||
# set variables
|
||||
for var in variables:
|
||||
bbctrl.setVariable(var.name, var.value)
|
||||
if var.name == 'TOASTER_BRBE':
|
||||
bbctrl.triggerEvent('bb.event.MetadataEvent("SetBRBE", "%s")' \
|
||||
% var.value)
|
||||
|
||||
# Add 'toaster' and 'buildhistory' to INHERIT variable
|
||||
inherit = {item.strip() for item in bbctrl.getVariable('INHERIT').split()}
|
||||
|
||||
Reference in New Issue
Block a user