mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5ce4665f26
commit
4aafcae5e4
@@ -321,7 +321,7 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||
# run build with local bitbake. stop the server after the build.
|
||||
log = os.path.join(builddir, 'toaster_ui.log')
|
||||
self._shellcmd(['bash -c \"(TOASTER_BRBE="%s" BBSERVER="0.0.0.0:-1" '
|
||||
'../bitbake/bin/bitbake %s -u toasterui >>%s 2>&1;'
|
||||
'../bitbake/bin/bitbake %s -u toasterui --token="" >>%s 2>&1;'
|
||||
'BITBAKE_UI="" BBSERVER=0.0.0.0:-1 %s -m)&\"' \
|
||||
% (brbe, bbtargets, log, bitbake)], builddir,
|
||||
nowait=True)
|
||||
|
||||
Reference in New Issue
Block a user