1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted event else the cooker can shutdown first

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-03-25 17:31:23 +00:00
parent fb245be03d
commit 871f731e57
+2 -2
View File
@@ -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