summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-23 20:55:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-23 23:04:09 +0000
commitbb72bd56101698b7fe166dd02fdca07d06a6eb8b (patch)
tree9e5a953a021ed8cc3418d0fdc449a3eb03e5e537
parente0eeb10144db74c0671acd684059e8a6f82a572f (diff)
downloadopenembedded-core-bb72bd56101698b7fe166dd02fdca07d06a6eb8b.tar.gz
openembedded-core-bb72bd56101698b7fe166dd02fdca07d06a6eb8b.tar.bz2
openembedded-core-bb72bd56101698b7fe166dd02fdca07d06a6eb8b.zip
kernel.bbclass: blacklist 'kernel-misc' from kernel-modules
When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules' The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Tested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3eb6659a75..9f014d4953 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -429,7 +429,7 @@ python populate_packages_prepend () {
metapkg = "kernel-modules"
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
bb.data.setVar('FILES_' + metapkg, "", d)
- blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf' ]
+ blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf', 'kernel-misc' ]
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))