bitbake: build.py: Correct package to recipe in TaskBase events to use consistent...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Aug 2012 13:53:16 +0000 (14:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Aug 2012 15:21:45 +0000 (16:21 +0100)
(Bitbake rev: e5045429bce15b66c4355be214db3982ac7761f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py
bitbake/lib/bb/ui/knotty.py

index b484d19..82d22f7 100644 (file)
@@ -72,7 +72,7 @@ class TaskBase(event.Event):
         self._task = t
         self._package = d.getVar("PF", True)
         event.Event.__init__(self)
-        self._message = "package %s: task %s: %s" % (d.getVar("PF", True), t, self.getDisplayName())
+        self._message = "recipe %s: task %s: %s" % (d.getVar("PF", True), t, self.getDisplayName())
 
     def getTask(self):
         return self._task
index 304ba29..b01daee 100644 (file)
@@ -94,7 +94,7 @@ class InteractConsoleLogFilter(logging.Filter):
         self.format = format
 
     def filter(self, record):
-        if record.levelno == self.format.NOTE and (record.msg.startswith("Running") or record.msg.startswith("package ")):
+        if record.levelno == self.format.NOTE and (record.msg.startswith("Running") or record.msg.startswith("recipe ")):
             return False
         self.tf.clearFooter()
         return True