summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-12 16:32:53 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:04 +0100
commit7cd768061b69baa963a8165d4f227fc210a0201f (patch)
tree3c22bc9025f3e102e8f78da9ea7feaa5dac26c79 /bitbake/lib/toaster/bldcontrol
parent15bb3d4e7fd33a921e9b0681297dfee6986a66eb (diff)
downloadpoky-7cd768061b69baa963a8165d4f227fc210a0201f.tar.gz
bitbake: toaster: use knotty when working with bitbake server
Using empty BITBAKE_UI environment variable causes bitbake server to fail with the error: FATAL: Unable to import extension module "" from bb.ui Valid extension modules: knotty or toasterui\n' Used BITBAKE_UI="knotty" when starting and stoping bitbake server to solve above issue. (Bitbake rev: b9a9ddfb6f53259be214032fb93812149d0cce19) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index 3da8be4358..9364900b34 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -287,7 +287,7 @@ class LocalhostBEController(BuildEnvironmentController):
287 287
288 # run bitbake server from the clone 288 # run bitbake server from the clone
289 bitbake = os.path.join(self.pokydirname, 'bitbake', 'bin', 'bitbake') 289 bitbake = os.path.join(self.pokydirname, 'bitbake', 'bin', 'bitbake')
290 self._shellcmd('bash -c \"source %s %s; BITBAKE_UI="" %s --read %s ' 290 self._shellcmd('bash -c \"source %s %s; BITBAKE_UI="knotty" %s --read %s '
291 '--server-only -t xmlrpc -B 0.0.0.0:0\"' % (oe_init, 291 '--server-only -t xmlrpc -B 0.0.0.0:0\"' % (oe_init,
292 builddir, bitbake, confpath), self.be.sourcedir) 292 builddir, bitbake, confpath), self.be.sourcedir)
293 293
@@ -324,7 +324,7 @@ class LocalhostBEController(BuildEnvironmentController):
324 'bitbake') 324 'bitbake')
325 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" '
326 '%s %s -u toasterui --token="" >>%s 2>&1;' 326 '%s %s -u toasterui --token="" >>%s 2>&1;'
327 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \ 327 'BITBAKE_UI="knotty" BBSERVER=0.0.0.0:-1 %s -m)&\"' \
328 % (brbe, local_bitbake, bbtargets, log, bitbake)], 328 % (brbe, local_bitbake, bbtargets, log, bitbake)],
329 builddir, nowait=True) 329 builddir, nowait=True)
330 330