diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-09 14:25:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-14 23:13:06 +0000 |
commit | 0274b68450ce3b27c074c6f7af7f41a4886f45cd (patch) | |
tree | 59c3b536914421d5c506f9d941f40be25d7b39cf /bitbake | |
parent | fdb8e7433cea45027a85dc9c74e1ff758517e2b6 (diff) | |
download | poky-0274b68450ce3b27c074c6f7af7f41a4886f45cd.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 92d9ac54d6..00228e9ef0 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -287,6 +287,9 @@ class LocalhostBEController(BuildEnvironmentController): | |||
287 | # set variables | 287 | # set variables |
288 | for var in variables: | 288 | for var in variables: |
289 | bbctrl.setVariable(var.name, var.value) | 289 | bbctrl.setVariable(var.name, var.value) |
290 | if var.name == 'TOASTER_BRBE': | ||
291 | bbctrl.triggerEvent('bb.event.MetadataEvent("SetBRBE", "%s")' \ | ||
292 | % var.value) | ||
290 | 293 | ||
291 | # Add 'toaster' and 'buildhistory' to INHERIT variable | 294 | # Add 'toaster' and 'buildhistory' to INHERIT variable |
292 | inherit = {item.strip() for item in bbctrl.getVariable('INHERIT').split()} | 295 | inherit = {item.strip() for item in bbctrl.getVariable('INHERIT').split()} |