diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-12 15:42:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-12 15:55:25 +0000 |
commit | 041adc97125189d1d91ecc7de16ff0e3e386e15b (patch) | |
tree | 3e932b146bdf96b8ee99b6e833248c77136a9620 /meta | |
parent | bff1d2ba0603a9eb5200ae0c6076bbe0e22f0f6f (diff) | |
download | poky-041adc97125189d1d91ecc7de16ff0e3e386e15b.tar.gz |
kernel bbclass: add 'perf' to kernel-modules blacklist
This makes 'kernel-modules' installable again when perf isn't enabled in the kernel config
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 86a1923df3..ef16fc557a 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -441,7 +441,7 @@ python populate_packages_prepend () { | |||
441 | metapkg = "kernel-modules" | 441 | metapkg = "kernel-modules" |
442 | bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) | 442 | bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) |
443 | bb.data.setVar('FILES_' + metapkg, "", d) | 443 | bb.data.setVar('FILES_' + metapkg, "", d) |
444 | blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux' ] | 444 | blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf' ] |
445 | for l in module_deps.values(): | 445 | for l in module_deps.values(): |
446 | for i in l: | 446 | for i in l: |
447 | pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1)) | 447 | pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1)) |