From 6c294f0a2ed6d0182bf85708a4fae240c260c0e5 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 10 Dec 2013 18:24:18 +0000 Subject: bitbake: 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. (Bitbake rev: f43d284e7ae752049711d8215a6020bee6966d45) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/bin/bitbake') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index d27fe849fb..cbfd2c97b6 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/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 v1.2.3-54-g00ecf