[OE-core] [PATCH 1/5] kernel.bbclass: blacklist 'perf-dbg' as well for the modules metapackage

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Thu Sep 22 12:25:53 UTC 2011


On 09/18/2011 02:23 AM, Otavio Salvador wrote:
> I have sent this in July and it was nacked. See at
> https://github.com/OSSystems/oe-core/commit/5c53cbf951a11ed92fb2ad0837991db256c11489

Answering the original question by Saul:
A possible better question is why perf-dbg is getting generated and 
what's in it?

perf and perf-dbg are generated to contain perf tool if it's not 
directly enabled (AFAIK), but you can compile it by running make in 
tools/perf. It has some additional depends (like binutils-dev, 
elfutils-dev, news-dev, etc., so it's not enabled by default. Probably 
we should enable it though.

>
> On Sat, Sep 17, 2011 at 19:18, Dmitry Eremin-Solenikov
> <dbaryshkov at gmail.com>  wrote:
>> Signed-off-by: Koen Kooi<koen at dominion.thruhere.net>
>> Signed-off-by: Dmitry Eremin-Solenikov<dbaryshkov at gmail.com>
>> ---
>>   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 bc1baa0..c577011 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -451,7 +451,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', 'kernel-misc' ]
>> +       blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf', 'perf-dbg', '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))
>> --
>> 1.7.2.5
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
>






More information about the Openembedded-core mailing list