summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r--bitbake-dev/lib/bb/cooker.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index 6d04d38080..e3bb56d376 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -183,20 +183,16 @@ class BBCooker:
183 """ 183 """
184 Build one task of a package, optionally build following task depends 184 Build one task of a package, optionally build following task depends
185 """ 185 """
186 bb.event.fire(bb.event.PkgStarted(item, the_data))
187 try: 186 try:
188 if not self.configuration.dry_run: 187 if not self.configuration.dry_run:
189 bb.build.exec_task('do_%s' % task, the_data) 188 bb.build.exec_task('do_%s' % task, the_data)
190 bb.event.fire(bb.event.PkgSucceeded(item, the_data))
191 return True 189 return True
192 except bb.build.FuncFailed: 190 except bb.build.FuncFailed:
193 bb.msg.error(bb.msg.domain.Build, "task stack execution failed") 191 bb.msg.error(bb.msg.domain.Build, "task stack execution failed")
194 bb.event.fire(bb.event.PkgFailed(item, the_data))
195 raise 192 raise
196 except bb.build.EventException, e: 193 except bb.build.EventException, e:
197 event = e.args[1] 194 event = e.args[1]
198 bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event)) 195 bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event))
199 bb.event.fire(bb.event.PkgFailed(item, the_data))
200 raise 196 raise
201 197
202 def tryBuild(self, fn): 198 def tryBuild(self, fn):