aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 09:58:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 10:02:22 +0100
commit71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe (patch)
treeb8f402929a46bdd273dade2c24a140e9ab691c9a
parente6663ffa5ffe2ac388a1b40c0fd0cddb055b8731 (diff)
downloadopenembedded-core-contrib-71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe.tar.gz
openembedded-core-contrib-71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe.tar.bz2
openembedded-core-contrib-71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe.zip
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. (From OE-Core rev: 7219bca11f554fbe2ed30f1537491987d65e9316) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass5
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-'))