diff options
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index ed46636372..6d7f433f9f 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -317,11 +317,13 @@ class LocalhostBEController(BuildEnvironmentController): | |||
317 | task = ':%s' % task | 317 | task = ':%s' % task |
318 | bbtargets += '%s%s ' % (target.target, task) | 318 | bbtargets += '%s%s ' % (target.target, task) |
319 | 319 | ||
320 | # run build with local bitbake | 320 | # run build with local bitbake. stop the server after the build. |
321 | log = os.path.join(builddir, 'toaster_ui.log') | 321 | log = os.path.join(builddir, 'toaster_ui.log') |
322 | self._shellcmd('TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" ' | 322 | self._shellcmd(['(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" ' |
323 | '../bitbake/bin/bitbake %s -u toasterui ' | 323 | '../bitbake/bin/bitbake %s -u toasterui >>%s 2>&1;' |
324 | '>>%s 2>&1 &' % (brbe, bbtargets, log), builddir) | 324 | 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&' \ |
325 | % (brbe, bbtargets, log, bitbake)], builddir, | ||
326 | nowait=True) | ||
325 | 327 | ||
326 | logger.debug('localhostbecontroller: Build launched, exiting. ' | 328 | logger.debug('localhostbecontroller: Build launched, exiting. ' |
327 | 'Follow build logs at %s' % log) | 329 | 'Follow build logs at %s' % log) |