diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 14:17:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:34 +0100 |
commit | 06afe1fafe977a7a8bc90e0608bb6d6cba6adca7 (patch) | |
tree | a2366ea3118e7b612bbb85951cb0ee6e0dd12d83 /bitbake | |
parent | 266a7d8c974e7f2b39e759ec1d89b5895795933c (diff) | |
download | poky-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-x | bitbake/bin/bitbake | 1 |
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) |