summaryrefslogtreecommitdiffstats
path: root/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-07 09:37:34 +0100
commit06afe1fafe977a7a8bc90e0608bb6d6cba6adca7 (patch)
treea2366ea3118e7b612bbb85951cb0ee6e0dd12d83 /bitbake
parent266a7d8c974e7f2b39e759ec1d89b5895795933c (diff)
downloadpoky-06afe1fafe977a7a8bc90e0608bb6d6cba6adca7.tar.gz
bitbake: 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. (Bitbake rev: a886cda58415085981646fb9a024fa7641f55865) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 4d93a35cdc..920c6c4fc6 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -292,6 +292,7 @@ def main():
292 if not configParams.remote_server: 292 if not configParams.remote_server:
293 # we start a server with a given configuration 293 # we start a server with a given configuration
294 server = start_server(servermodule, configParams, configuration) 294 server = start_server(servermodule, configParams, configuration)
295 bb.event.ui_queue = []
295 else: 296 else:
296 # we start a stub server that is actually a XMLRPClient that connects to a real server 297 # we start a stub server that is actually a XMLRPClient that connects to a real server
297 server = servermodule.BitBakeXMLRPCClient(configParams.observe_only) 298 server = servermodule.BitBakeXMLRPCClient(configParams.observe_only)