diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-11-01 15:58:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-04 09:36:21 +0000 |
commit | a670859103dab0b28e52a4d91f476d2bccbc85ac (patch) | |
tree | b7d3100c6c05900d84b6c21c93cfe4dc7ccafcca /bitbake/lib/bb | |
parent | f04a32162d6e3d31cf199bd8544e770e25655ed3 (diff) | |
download | poky-a670859103dab0b28e52a4d91f476d2bccbc85ac.tar.gz |
bitbake: cooker: add data to the dependency tree dump
Toaster needes to record extra data that needs to
be moved at the time of the dependency tree dump.
This data includes:
* layer priorities for recording in the layer section
* the inherit list for each PN which allows to determine
the type of the PN (regular package, image, etc).
This patch adds this data to the dependency tree dump.
(Bitbake rev: 7636aba37320aaf9b044d3832ddc21af51ccd69c)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b504f45da6..ccc6858780 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -511,6 +511,7 @@ class BBCooker: | |||
511 | depend_tree["packages"] = {} | 511 | depend_tree["packages"] = {} |
512 | depend_tree["rdepends-pkg"] = {} | 512 | depend_tree["rdepends-pkg"] = {} |
513 | depend_tree["rrecs-pkg"] = {} | 513 | depend_tree["rrecs-pkg"] = {} |
514 | depend_tree["layer-priorities"] = self.recipecache.bbfile_config_priorities | ||
514 | 515 | ||
515 | for task in xrange(len(rq.rqdata.runq_fnid)): | 516 | for task in xrange(len(rq.rqdata.runq_fnid)): |
516 | taskname = rq.rqdata.runq_task[task] | 517 | taskname = rq.rqdata.runq_task[task] |
@@ -522,6 +523,7 @@ class BBCooker: | |||
522 | depend_tree["pn"][pn] = {} | 523 | depend_tree["pn"][pn] = {} |
523 | depend_tree["pn"][pn]["filename"] = fn | 524 | depend_tree["pn"][pn]["filename"] = fn |
524 | depend_tree["pn"][pn]["version"] = version | 525 | depend_tree["pn"][pn]["version"] = version |
526 | depend_tree["pn"][pn]["inherits"] = self.recipecache.inherits.get(fn, None) | ||
525 | 527 | ||
526 | # if we have extra caches, list all attributes they bring in | 528 | # if we have extra caches, list all attributes they bring in |
527 | extra_info = [] | 529 | extra_info = [] |