* [PATCH] package.bbclass: Fix regression in -dbg packages introduced by explode_dep_versions change
@ 2012-10-03 8:58 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-10-03 8:58 UTC (permalink / raw)
To: openembedded-core
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>
---
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index a14561d..73c4358 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-'))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-03 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03 8:58 [PATCH] package.bbclass: Fix regression in -dbg packages introduced by explode_dep_versions change Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox