summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 14:17:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 15:34:13 +0100
commita886cda58415085981646fb9a024fa7641f55865 (patch)
treeaf1e4923d0031118eba495b446347f7fe90e24c2 /bin/bitbake
parent1ff5ec26eba70ab1c85674a60b7dac77317bf349 (diff)
downloadbitbake-contrib-a886cda58415085981646fb9a024fa7641f55865.tar.gz
bitbake-contrib-a886cda58415085981646fb9a024fa7641f55865.tar.bz2
bitbake-contrib-a886cda58415085981646fb9a024fa7641f55865.zip
bin/bitbake: Clear ui-queue when starting a server
When starting a server we don't want to show the debug event queue which is reserved for when when errors have occurred. This patch copies the UI code to ensure the user doesn't see confusing output. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-xbin/bitbake1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 4d93a35cdc..920c6c4fc6 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -292,6 +292,7 @@ def main():
if not configParams.remote_server:
# we start a server with a given configuration
server = start_server(servermodule, configParams, configuration)
+ bb.event.ui_queue = []
else:
# we start a stub server that is actually a XMLRPClient that connects to a real server
server = servermodule.BitBakeXMLRPCClient(configParams.observe_only)