summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-25 17:31:23 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-25 17:31:47 +0000
commitacc27c3988b58e5a4709d547c03936c9846dcc08 (patch)
treec165f6f6ff0c1d527dfc02cd22f96a6605fce895
parentfea0acdaf68430e6b34f97fdaac3d0c8fe13c872 (diff)
downloadbitbake-acc27c3988b58e5a4709d547c03936c9846dcc08.tar.gz
bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted event else the cooker can shutdown first
(From Poky rev: 871f731e5733c27664c4a341cf4b6b0770cb1909) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 5dd8a9575..3881df484 100644
--- a/lib/bb/cooker.py
+++ b/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