summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-02-25 14:12:24 -0800
committerChris Larson <clarson@kergoth.com>2009-03-21 20:06:30 -0700
commit515fc2744996506d8394f90dfe237175e51dc441 (patch)
tree0d77327c0c62dd4f6a4bfc850cdd4a6b7198b033
parentecfad70aae36a382459e53c9a16c82e9604d4421 (diff)
base.bbclass: Kill the 'Pkg' messages in the event handler.
Now that bitbake operates at a task level, not a package level, the package messages are, at best, useless, and at worst, confusing for the user. Signed-off-by: Chris Larson <clarson@mvista.com>
-rw-r--r--classes/base.bbclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 1b61895b07..d386d89a71 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -856,10 +856,7 @@ python base_eventhandler() {
name = getName(e)
msg = ""
- if name.startswith("Pkg"):
- msg += "package %s: " % data.getVar("P", e.data, 1)
- msg += messages.get(name[3:]) or name[3:]
- elif name.startswith("Task"):
+ if name.startswith("Task"):
msg += "package %s: task %s: " % (data.getVar("PF", e.data, 1), e.task)
msg += messages.get(name[4:]) or name[4:]
elif name.startswith("Build"):
@@ -867,6 +864,8 @@ python base_eventhandler() {
msg += messages.get(name[5:]) or name[5:]
elif name == "UnsatisfiedDep":
msg += "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower())
+ else:
+ return NotHandled
# Only need to output when using 1.8 or lower, the UI code handles it
# otherwise