[OE-core] kmod packaging question

Gary Thomas gary at mlbassoc.com
Wed Oct 16 03:44:13 UTC 2013


On 2013-10-15 18:23, Saul Wold wrote:
> On 10/15/2013 05:17 PM, Saul Wold wrote:
>> On 10/14/2013 10:00 AM, Gary Thomas wrote:
>>> I'm having some issues with the 'kmod' package.  In particular,
>>> the package claims:
>>>    commit b4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
>>>    Author: Khem Raj <raj.khem at gmail.com>
>>>    Date:   Tue Jan 31 00:34:01 2012 -0800
>>>
>>>      kmod: Add recipes
>>>
>>>      kmod is replacement for module-init-tools
>>>
>>>      (From OE-Core rev: 716606f5446534e48b45fcc017e8bbdfe7f15e26)
>>>
>>>      Signed-off-by: Khem Raj <raj.khem at gmail.com>
>>>      Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>>>
>>> But is is really a "replacement"?  I know that there is a provides
>>> which makes the build happy, but unless you explicitly install the
>>> kmod package into your image, you don't end up with all of the module
>>> tools.  The main missing piece is 'depmod' - the rest seem to come
>>> from busybox, not kmod.
>>>
>>> I ran into this when trying to run 'opkg upgrade' which sucked in
>>> some new kernel modules and found that 'depmod' was not installed.
>>>
>>> Did I miss something?
>>>
>> Nope, it was a good catch, I will investigate the size increase for
>> adding depmod into busybox.
>>
> Seems it adds 2240 bytes to the size of the busybox binary, that's far better than 675K that kmod would bring in.  I will get the patch up shortly.

Cool, thanks!!

>>> n.b. this was tested using Poky/Yocto
>>> 0fc8317c6385eb1ed69ca4522ee6424c456dbb92
>>> which is a few days old.  I've not checked the very latest master (yet).
>>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-core mailing list