diff options
| -rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 4f6f15c601..2215d7af24 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
| @@ -280,6 +280,13 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 280 | # set up the build environment with the needed layers | 280 | # set up the build environment with the needed layers |
| 281 | self.setLayers(bitbake, layers, targets) | 281 | self.setLayers(bitbake, layers, targets) |
| 282 | 282 | ||
| 283 | # write configuration file | ||
| 284 | filepath = os.path.join(self.be.builddir, "conf/toaster.conf") | ||
| 285 | with open(filepath, 'w') as conf: | ||
| 286 | for var in variables: | ||
| 287 | conf.write('%s="%s"\n' % (var.name, var.value)) | ||
| 288 | conf.write('INHERIT+="toaster buildhistory"') | ||
| 289 | |||
| 283 | # get the bb server running with the build req id and build env id | 290 | # get the bb server running with the build req id and build env id |
| 284 | bbctrl = self.getBBController() | 291 | bbctrl = self.getBBController() |
| 285 | 292 | ||
