From f43d284e7ae752049711d8215a6020bee6966d45 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 10 Dec 2013 18:24:18 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bin/bitbake | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/bitbake') 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 -- cgit 1.2.3-korg