diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-07-26 17:50:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 16:54:04 +0100 |
commit | cd4141f1a77016bde2cd82e2489f863a1c47cf84 (patch) | |
tree | 6699eab05e0689d158f89df7215522d9ca48b401 | |
parent | b004d8ef0f06cbf302a55b73b20b7ee7dac645f7 (diff) | |
download | poky-cd4141f1a77016bde2cd82e2489f863a1c47cf84.tar.gz |
cooker: populate rdepends-pkg in generatePkgDepTreeData
The rdepends-pkg field of the generated depend_tree model was not populated
in the original implementation of this method, this series adds in the
loop to populate the rdepends-pkg column of the model.
(Bitbake rev: 4f9a6f6f43cf2ef38115285897fbbde01964e892)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 40c2694a3e..9d0a6d49b5 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -458,6 +458,9 @@ class BBCooker: | |||
458 | 458 | ||
459 | rdepends = self.status.rundeps[fn] | 459 | rdepends = self.status.rundeps[fn] |
460 | for package in rdepends: | 460 | for package in rdepends: |
461 | depend_tree["rdepends-pkg"][package] = [] | ||
462 | for rdepend in rdepends[package]: | ||
463 | depend_tree["rdepends-pkg"][package].append(rdepend) | ||
461 | packages.append(package) | 464 | packages.append(package) |
462 | 465 | ||
463 | for package in packages: | 466 | for package in packages: |