summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake-dev/lib/bb/cooker.py4
-rw-r--r--bitbake-dev/lib/bb/event.py12
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py3
-rw-r--r--bitbake-dev/lib/bb/ui/ncurses.py2
4 files changed, 0 insertions, 21 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index 6d04d3808..e3bb56d37 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):
diff --git a/bitbake-dev/lib/bb/event.py b/bitbake-dev/lib/bb/event.py
index c13a0127a..e5cae275a 100644
--- a/bitbake-dev/lib/bb/event.py
+++ b/bitbake-dev/lib/bb/event.py
@@ -208,18 +208,6 @@ class DepBase(PkgBase):
dep = property(getDep, setDep, None, "dep property")
-class PkgStarted(PkgBase):
- """Package build started"""
-
-
-class PkgFailed(PkgBase):
- """Package build failed"""
-
-
-class PkgSucceeded(PkgBase):
- """Package build completed"""
-
-
class BuildStarted(BuildBase):
"""bbmake build run started"""
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 9e8966030..5e7544ea0 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -56,9 +56,6 @@ def init(server, eventHandler):
if event is None:
continue
#print event
- if event[0].startswith('bb.event.Pkg'):
- print "NOTE: %s" % event[1]['_message']
- continue
if event[0].startswith('bb.msg.MsgPlain'):
print event[1]['_message']
continue
diff --git a/bitbake-dev/lib/bb/ui/ncurses.py b/bitbake-dev/lib/bb/ui/ncurses.py
index 866792b14..3cac26464 100644
--- a/bitbake-dev/lib/bb/ui/ncurses.py
+++ b/bitbake-dev/lib/bb/ui/ncurses.py
@@ -245,8 +245,6 @@ class NCursesUI:
continue
helper.eventHandler(event)
#mw.appendText("%s\n" % event[0])
- if event[0].startswith('bb.event.Pkg'):
- mw.appendText("NOTE: %s\n" % event[1]['_message'])
if event[0].startswith('bb.build.Task'):
mw.appendText("NOTE: %s\n" % event[1]['_message'])
if event[0].startswith('bb.msg.MsgDebug'):