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-04 15:34:13 +0100 |
commit | a886cda58415085981646fb9a024fa7641f55865 (patch) | |
tree | af1e4923d0031118eba495b446347f7fe90e24c2 | |
parent | 1ff5ec26eba70ab1c85674a60b7dac77317bf349 (diff) | |
download | bitbake-a886cda58415085981646fb9a024fa7641f55865.tar.gz |
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>
-rwxr-xr-x | bin/bitbake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake index 4d93a35cd..920c6c4fc 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) |