[bitbake-devel] [PATCH 3/8] event.py: Add a new event PackageInfo

Dongxiao Xu dongxiao.xu at intel.com
Wed Jan 11 03:03:22 UTC 2012


This event is to pass package information.

Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
---
 lib/bb/event.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/lib/bb/event.py b/lib/bb/event.py
index 8d7f941..57bcfb5 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -467,3 +467,11 @@ class LogHandler(logging.Handler):
     def filter(self, record):
         record.taskpid = worker_pid
         return True
+
+class PackageInfo(Event):
+    """
+    Package information for GUI
+    """
+    def __init__(self, pkginfolist):
+        Event.__init__(self)
+        self._pkginfolist = pkginfolist
-- 
1.7.0.4





More information about the bitbake-devel mailing list