[bitbake-devel] [PATCH 06/13] Fix -m handling if cannot connect to server

Paul Eggleton paul.eggleton at linux.intel.com
Mon Aug 17 11:12:21 UTC 2015


If we can't connect to the server we should error out, because it might
not be that the server is actually dead - it might just be unable to
execute commands.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 lib/bb/main.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/bb/main.py b/lib/bb/main.py
index f08a8ef..4d77408 100755
--- a/lib/bb/main.py
+++ b/lib/bb/main.py
@@ -358,8 +358,6 @@ def bitbake_main(configParams, configuration):
         try:
             server_connection = server.establishConnection(featureset)
         except Exception as e:
-            if configParams.kill_server:
-                return 0
             bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e)))
 
         # Restore the environment in case the UI needs it
-- 
2.1.0




More information about the bitbake-devel mailing list