summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 13:17:45 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-07 08:37:34 (GMT)
commit06afe1fafe977a7a8bc90e0608bb6d6cba6adca7 (patch)
treea2366ea3118e7b612bbb85951cb0ee6e0dd12d83
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>
-rwxr-xr-xbitbake/bin/bitbake1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 4d93a35..920c6c4 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)