diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-08-03 17:09:25 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-08-03 17:41:44 -0700 |
commit | d67c4e5ba499a054f67d665733d29f873e426db9 (patch) | |
tree | 7b0962f2b01ce7a6640f15bd540840b0b86d8d00 /classes | |
parent | 2de66c5504eae14528acd28832fde969672c631c (diff) |
Recipe fixups for package_dbg usage
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index b0c65346f0..9555f30a30 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -476,6 +476,7 @@ python populate_packages_prepend () { bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) bb.data.setVar('FILES_' + metapkg, "", d) blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux' ] + depchains = (d.getVar("DEPCHAIN_POST", True) or "").split() for l in module_deps.values(): for i in l: pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1)) @@ -483,7 +484,7 @@ python populate_packages_prepend () { metapkg_rdepends = [] packages = bb.data.getVar('PACKAGES', d, 1).split() for pkg in packages[1:]: - if not pkg in blacklist and not pkg in metapkg_rdepends: + if not pkg in blacklist and not pkg in metapkg_rdepends and not any(pkg.endswith(post) for post in depchains): metapkg_rdepends.append(pkg) bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) bb.data.setVar('DESCRIPTION_' + metapkg, 'Kernel modules meta package', d) |