From: Richard Purdie Date: Thu, 25 Mar 2010 17:31:23 +0000 (+0000) Subject: bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted... X-Git-Tag: 2011-1~6078 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=871f731e5733c27664c4a341cf4b6b0770cb1909;p=openembedded-core.git bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted event else the cooker can shutdown first Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 5dd8a95759..3881df484a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -692,8 +692,8 @@ class BBCooker: failures = failures + 1 retval = False if not retval: - self.command.finishAsyncCommand() bb.event.fire(bb.event.BuildCompleted(buildname, item, failures), self.configuration.event_data) + self.command.finishAsyncCommand() return False return 0.5 @@ -728,8 +728,8 @@ class BBCooker: failures = failures + 1 retval = False if not retval: - self.command.finishAsyncCommand() bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) + self.command.finishAsyncCommand() return None return 0.5