diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-03 09:58:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-03 10:02:22 +0100 |
commit | 71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe (patch) | |
tree | b8f402929a46bdd273dade2c24a140e9ab691c9a /meta | |
parent | e6663ffa5ffe2ac388a1b40c0fd0cddb055b8731 (diff) | |
download | poky-71030c6b37ca320c7d4f5dbc39e6e1ef17e53cfe.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package.bbclass | 5 |
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() { | |||
1763 | 1763 | ||
1764 | if "-dbg" in pkgs: | 1764 | if "-dbg" in pkgs: |
1765 | pkglibdeps = read_libdep_files(d) | 1765 | pkglibdeps = read_libdep_files(d) |
1766 | pkglibdeplist = pkglibdeps.keys() | 1766 | pkglibdeplist = [] |
1767 | for pkg in pkglibdeps: | ||
1768 | for k in pkglibdeps[pkg]: | ||
1769 | add_dep(pkglibdeplist, k) | ||
1767 | # FIXME this should not look at PN once all task recipes inherit from task.bbclass | 1770 | # FIXME this should not look at PN once all task recipes inherit from task.bbclass |
1768 | dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (d.getVar('PN', True) or '').startswith('packagegroup-')) | 1771 | dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (d.getVar('PN', True) or '').startswith('packagegroup-')) |
1769 | 1772 | ||