summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-06 17:46:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-06 23:10:30 +0100
commit4aafcae5e4dbf74767c185ca79f1c5969b7b1516 (patch)
treead82c2e34625b009b0b70b5ffc1cab73307bd82d /bitbake
parent5ce4665f2624f29054891fe8128109d6102ca2f3 (diff)
downloadpoky-4aafcae5e4dbf74767c185ca79f1c5969b7b1516.tar.gz
bitbake: toaster: use empty token
If client xmlrpc token is not provided in the command line, bitbake generates random token. Server token in --server-only mode is always empty. This doesn't allow clients with non-empty tokens to connect to the server. Specifying empty token should stop generation of random token and make it possible for clients to communicate with the server. (Bitbake rev: b54ec2d7cb9f2fb4ff1e8af11b6ecf97d181272c) 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')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index d23634fb8f..ab9cf2574c 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -321,7 +321,7 @@ class LocalhostBEController(BuildEnvironmentController):
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 self._shellcmd(['bash -c \"(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" ' 323 self._shellcmd(['bash -c \"(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" '
324 '../bitbake/bin/bitbake %s -u toasterui >>%s 2>&1;' 324 '../bitbake/bin/bitbake %s -u toasterui --token="" >>%s 2>&1;'
325 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \ 325 'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \
326 % (brbe, bbtargets, log, bitbake)], builddir, 326 % (brbe, bbtargets, log, bitbake)], builddir,
327 nowait=True) 327 nowait=True)