diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-04-06 17:46:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-06 23:10:27 +0100 |
commit | 0b0d754950da5606b4ba7c7a8d3a43706ba8fddf (patch) | |
tree | a09c35196bd4a66357c8707a0219b1b36cbd6756 /bitbake/lib/bb/ui/toasterui.py | |
parent | 94ac3f0ed048d3bf031d942f2fcd5745aaed2cc5 (diff) | |
download | poky-0b0d754950da5606b4ba7c7a8d3a43706ba8fddf.tar.gz |
bitbake: toasterui: add brbe parameter to buildinfohelper
In current toaster code BRBE(build request:build environment) value
is passed from toaster to buildinfohelper through the 'SetBRBE' event.
Passing it through environment variable is easier as it doesn't
involve rpc communication between toaster and bitbake server.
It also eliminates the need in running bitbake observer process.
Added parameter 'brbe' to BuildInfoHelper.__init__
Used environment variable TOASTER_BRBE to set brbe for
buildinfohelper object.
(Bitbake rev: a0c8e2b309055e5927a8ff729d292ccaa69d0575)
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/lib/bb/ui/toasterui.py')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 538a40964c..06a5f17f4e 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -195,7 +195,8 @@ def main(server, eventHandler, params): | |||
195 | taskfailures = [] | 195 | taskfailures = [] |
196 | first = True | 196 | first = True |
197 | 197 | ||
198 | buildinfohelper = BuildInfoHelper(server, build_history_enabled) | 198 | buildinfohelper = BuildInfoHelper(server, build_history_enabled, |
199 | os.getenv('TOASTER_BRBE')) | ||
199 | 200 | ||
200 | # write our own log files into bitbake's log directory; | 201 | # write our own log files into bitbake's log directory; |
201 | # we're only interested in the path to the parent directory of | 202 | # we're only interested in the path to the parent directory of |