summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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/lib/bb
parent14889f9cca519e5e9ebb04578ab54128dc9de467 (diff)
downloadpoky-17ea15299092af177f7065d4fa96840d41d35cec.tar.gz
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/lib/bb')
-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 33b9201e6f..77646cd069 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -323,14 +323,14 @@ class BBCooker:
323 rdepends = self.status.rundeps[fn] 323 rdepends = self.status.rundeps[fn]
324 for package in rdepends: 324 for package in rdepends:
325 depend_tree["rdepends-pkg"][package] = [] 325 depend_tree["rdepends-pkg"][package] = []
326 for rdepend in rdepends[package]: 326 for rdepend in bb.utils.explode_deps(rdepends[package]):
327 depend_tree["rdepends-pkg"][package].append(rdepend) 327 depend_tree["rdepends-pkg"][package].append(rdepend)
328 packages.append(package) 328 packages.append(package)
329 329
330 rrecs = self.status.runrecs[fn] 330 rrecs = self.status.runrecs[fn]
331 for package in rrecs: 331 for package in rrecs:
332 depend_tree["rrecs-pkg"][package] = [] 332 depend_tree["rrecs-pkg"][package] = []
333 for rdepend in rrecs[package]: 333 for rdepend in bb.utils.explode_deps(rrecs[package]):
334 depend_tree["rrecs-pkg"][package].append(rdepend) 334 depend_tree["rrecs-pkg"][package].append(rdepend)
335 if not package in packages: 335 if not package in packages:
336 packages.append(package) 336 packages.append(package)