mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake: Fix -m handling if cannot connect to server
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. (Bitbake rev: d4b921676859d6ba4e1922fa4682ee941652f483) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7ce27b9fce
commit
e2ddc18874
@@ -358,8 +358,6 @@ def bitbake_main(configParams, configuration):
|
|||||||
try:
|
try:
|
||||||
server_connection = server.establishConnection(featureset)
|
server_connection = server.establishConnection(featureset)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if configParams.kill_server:
|
|
||||||
return 0
|
|
||||||
bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e)))
|
bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e)))
|
||||||
|
|
||||||
# Restore the environment in case the UI needs it
|
# Restore the environment in case the UI needs it
|
||||||
|
|||||||
Reference in New Issue
Block a user