[bitbake-devel,89/94] bitbake: cooker: send layer information with dependency tree

Submitted by Alexandru DAMIAN on Sept. 24, 2013, 4:52 p.m.

Details

Message ID be48ad5ecbe2a22ac37591518cf0fc0c5993db46.1380041477.git.alexandru.damian@intel.com
State New
Headers show

Commit Message

Alexandru DAMIAN Sept. 24, 2013, 4:52 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

Adding layer priorities information to the dependency tree.
This is needed because the layer priorities are not computed
until runtime, and priority information is needed for recording
correct recipe information.

[YOCTO #5218]

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

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 9ed22c7..a978f92 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -470,6 +470,7 @@  class BBCooker:
         depend_tree["packages"] = {}
         depend_tree["rdepends-pkg"] = {}
         depend_tree["rrecs-pkg"] = {}
+        depend_tree["layer-priorities"] = self.recipecache.bbfile_config_priorities
 
         for task in xrange(len(rq.rqdata.runq_fnid)):
             taskname = rq.rqdata.runq_task[task]