summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index ab9cf2574c..7def1f3a17 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -320,11 +320,13 @@ class LocalhostBEController(BuildEnvironmentController):
320 320
321 # run build with local bitbake. stop the server after the build. 321 # run build with local bitbake. stop the server after the build.
322 log = os.path.join(builddir, 'toaster_ui.log') 322 log = os.path.join(builddir, 'toaster_ui.log')
323 local_bitbake = os.path.join(os.path.dirname(os.getenv('BBBASEDIR')),
324 'bitbake')
323 self._shellcmd(['bash -c \"(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" ' 325 self._shellcmd(['bash -c \"(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" '
324 '../bitbake/bin/bitbake %s -u toasterui --token="" >>%s 2>&1;' 326 '%s %s -u toasterui --token="" >>%s 2>&1;'
325 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \ 327 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \
326 % (brbe, bbtargets, log, bitbake)], builddir, 328 % (brbe, local_bitbake, bbtargets, log, bitbake)],
327 nowait=True) 329 builddir, nowait=True)
328 330
329 logger.debug('localhostbecontroller: Build launched, exiting. ' 331 logger.debug('localhostbecontroller: Build launched, exiting. '
330 'Follow build logs at %s' % log) 332 'Follow build logs at %s' % log)