summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-04 08:47:11 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:38 +0000
commit17ea15299092af177f7065d4fa96840d41d35cec (patch)
tree0dfd324f0943a9df1e273d8bf24f2b65c2c87c17 /bitbake
parent14889f9cca519e5e9ebb04578ab54128dc9de467 (diff)
downloadopenembedded-core-17ea15299092af177f7065d4fa96840d41d35cec.tar.gz
openembedded-core-17ea15299092af177f7065d4fa96840d41d35cec.tar.bz2
openembedded-core-17ea15299092af177f7065d4fa96840d41d35cec.tar.xz
openembedded-core-17ea15299092af177f7065d4fa96840d41d35cec.zip
Fix GraphViz .dot output for rdepends and rrecs
Use bb.utils.explode_deps to break up the rdepends and rrecommends strings. This fixes the same issue which was fixed by a number of patches floating around, but uses explode_deps rather than regular expressions. (Bitbake rev: 83cdb23f8b89453a3527a276bd0b4deb85d63deb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 33b9201e6..77646cd06 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -323,14 +323,14 @@ class BBCooker:
rdepends = self.status.rundeps[fn]
for package in rdepends:
depend_tree["rdepends-pkg"][package] = []
- for rdepend in rdepends[package]:
+ for rdepend in bb.utils.explode_deps(rdepends[package]):
depend_tree["rdepends-pkg"][package].append(rdepend)
packages.append(package)
rrecs = self.status.runrecs[fn]
for package in rrecs:
depend_tree["rrecs-pkg"][package] = []
- for rdepend in rrecs[package]:
+ for rdepend in bb.utils.explode_deps(rrecs[package]):
depend_tree["rrecs-pkg"][package].append(rdepend)
if not package in packages:
packages.append(package)