[bitbake-devel] [PATCH 86/94] bitbake: cooker: add the inherits attribute to the dependency tree

Alex DAMIAN alexandru.damian at intel.com
Tue Sep 24 16:52:55 UTC 2013


From: Alexandru DAMIAN <alexandru.damian at intel.com>

The built dependency tree has to have the inherits attribute
so that the UIs can use and save this information.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 bitbake/lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index ff2af69..9ed22c7 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -481,6 +481,7 @@ class BBCooker:
                 depend_tree["pn"][pn] = {}
                 depend_tree["pn"][pn]["filename"] = fn
                 depend_tree["pn"][pn]["version"] = version
+                depend_tree["pn"][pn]["inherits"] = self.recipecache.inherits.get(fn, None)
 
                 # if we have extra caches, list all attributes they bring in
                 extra_info = []
-- 
1.8.1.2




More information about the bitbake-devel mailing list