diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:31:23 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:31:23 +0000 |
commit | 871f731e5733c27664c4a341cf4b6b0770cb1909 (patch) | |
tree | 5e821558a2c83fa651cfc9759e29ccbf1ec91042 | |
parent | fb245be03d8e3327165033045245f5f853c0b0d4 (diff) | |
download | poky-871f731e5733c27664c4a341cf4b6b0770cb1909.tar.gz |
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>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: | |||
692 | failures = failures + 1 | 692 | failures = failures + 1 |
693 | retval = False | 693 | retval = False |
694 | if not retval: | 694 | if not retval: |
695 | self.command.finishAsyncCommand() | ||
696 | bb.event.fire(bb.event.BuildCompleted(buildname, item, failures), self.configuration.event_data) | 695 | bb.event.fire(bb.event.BuildCompleted(buildname, item, failures), self.configuration.event_data) |
696 | self.command.finishAsyncCommand() | ||
697 | return False | 697 | return False |
698 | return 0.5 | 698 | return 0.5 |
699 | 699 | ||
@@ -728,8 +728,8 @@ class BBCooker: | |||
728 | failures = failures + 1 | 728 | failures = failures + 1 |
729 | retval = False | 729 | retval = False |
730 | if not retval: | 730 | if not retval: |
731 | self.command.finishAsyncCommand() | ||
732 | bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) | 731 | bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) |
732 | self.command.finishAsyncCommand() | ||
733 | return None | 733 | return None |
734 | return 0.5 | 734 | return 0.5 |
735 | 735 | ||