summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRobert Bradford <rob@openedhand.com>2008-10-20 11:35:49 +0000
committerRobert Bradford <rob@openedhand.com>2008-10-20 11:35:49 +0000
commitf105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3 (patch)
tree28c6a3b1602603b31bba81b085dc00330e47faab /bitbake-dev/lib/bb/cooker.py
parenta8644924ab92b090546df1869714b57ba91fcd8b (diff)
downloadopenembedded-core-f105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3.tar.gz
openembedded-core-f105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3.tar.bz2
openembedded-core-f105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3.zip
bitbake-dev: Remove the Pkg{Started, Failed, Succeeded} events and their handling in the UI
These events are superfluous now that BB operates on a task level granularity. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5541 311d38ba-8fff-0310-9ca6-ca027cbcb966
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:
"""
Build one task of a package, optionally build following task depends
"""
- bb.event.fire(bb.event.PkgStarted(item, the_data))
try:
if not self.configuration.dry_run:
bb.build.exec_task('do_%s' % task, the_data)
- bb.event.fire(bb.event.PkgSucceeded(item, the_data))
return True
except bb.build.FuncFailed:
bb.msg.error(bb.msg.domain.Build, "task stack execution failed")
- bb.event.fire(bb.event.PkgFailed(item, the_data))
raise
except bb.build.EventException, e:
event = e.args[1]
bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event))
- bb.event.fire(bb.event.PkgFailed(item, the_data))
raise
def tryBuild(self, fn):