path: root/meta/classes
diff options
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 09:58:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 10:02:00 +0100
commit7219bca11f554fbe2ed30f1537491987d65e9316 (patch)
treef629c80be51fd7c1d52c030fc21cba6086e50409 /meta/classes
parentb2e8cc5ae227656211fb7f32260e7dc4e2fb556e (diff)
package.bbclass: Fix regression in -dbg packages introduced by explode_dep_versions change
We need to iterate over the dictionary pulling out the values, not take the top level keys. If we don't do this, we end up with dependencies on the values of PACKAGES, not library dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index a14561d5ac..73c4358aff 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1763,7 +1763,10 @@ python package_depchains() {
if "-dbg" in pkgs:
pkglibdeps = read_libdep_files(d)
- pkglibdeplist = pkglibdeps.keys()
+ pkglibdeplist = []
+ for pkg in pkglibdeps:
+ for k in pkglibdeps[pkg]:
+ add_dep(pkglibdeplist, k)
# FIXME this should not look at PN once all task recipes inherit from task.bbclass
dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (d.getVar('PN', True) or '').startswith('packagegroup-'))