diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-10 18:24:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-07 13:00:29 +0000 |
commit | f43d284e7ae752049711d8215a6020bee6966d45 (patch) | |
tree | cab2a8ec2ad126b6efd626a6751a91b81d5744d8 /bin/bitbake | |
parent | 34afbdd0fc809b8fb20696aeef3e6a61d6812e16 (diff) | |
download | bitbake-f43d284e7ae752049711d8215a6020bee6966d45.tar.gz |
toaster: add two-stage commit startup logic
Toaster start script lunches multiple process components
of the toaster system.
This patch adds logic into the startup script to
safely fail startup and do proper cleanup on any error
that may happen during system start.
Bitbake needs to return 0 if it will successfully lunches
the server-mode.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-x | bin/bitbake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake index d27fe849f..cbfd2c97b 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -343,6 +343,7 @@ def main(): server_connection.terminate() else: print("server address: %s, server port: %s" % (server.serverImpl.host, server.serverImpl.port)) + return 0 return 1 |