[OE-core] [PATCH 07/20] kmod: Add recipes

Khem Raj raj.khem at gmail.com
Thu May 3 22:02:10 UTC 2012


On Thu, May 3, 2012 at 2:05 PM, Darren Hart <dvhart at linux.intel.com> wrote:
>
>
> On 02/05/2012 10:40 PM, Khem Raj wrote:
>> kmod is replacement for module-init-tools
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  meta/recipes-kernel/kmod/kmod-native_git.bb      |   14 +++++
>>  meta/recipes-kernel/kmod/kmod.inc                |   31 +++++++++++
>>  meta/recipes-kernel/kmod/kmod/depmod-search.conf |    6 ++
>>  meta/recipes-kernel/kmod/kmod_git.bb             |   62 ++++++++++++++++++++++
>>  4 files changed, 113 insertions(+), 0 deletions(-)
>>  create mode 100644 meta/recipes-kernel/kmod/kmod-native_git.bb
>>  create mode 100644 meta/recipes-kernel/kmod/kmod.inc
>>  create mode 100644 meta/recipes-kernel/kmod/kmod/depmod-search.conf
>>  create mode 100644 meta/recipes-kernel/kmod/kmod_git.bb
>>
>> diff --git a/meta/recipes-kernel/kmod/kmod-native_git.bb b/meta/recipes-kernel/kmod/kmod-native_git.bb
>> new file mode 100644
>> index 0000000..96de8b8
>> --- /dev/null
>> +++ b/meta/recipes-kernel/kmod/kmod-native_git.bb
>> @@ -0,0 +1,14 @@
>> +# Copyright (C) 2012 Khem Raj <raj.khem at gmail.com>
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +require kmod.inc
>> +inherit native
>> +
>> +PR = "${INC_PR}.0"
>> +
>> +do_install_append (){
>> +     for tool in depmod insmod lsmod modinfo modprobe rmmod
>> +     do
>> +             ln -s kmod ${D}${bindir}/$tool
>> +     done
>
> Do we have to ensure to disable module tools in busybox to avoid
> conflict here?
>

hmm I guess this could be made as a virtual choice. It was not there
so I did not do it.

> I had a few other questions, but managed to resolve them by the time I
> finished reading. It looks good with only the one concern above.




More information about the Openembedded-core mailing list