Openembedded Core Discussions
 help / color / mirror / Atom feed
* kmod packaging question
@ 2013-10-14 17:00 Gary Thomas
  2013-10-16  0:17 ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2013-10-14 17:00 UTC (permalink / raw)
  To: openembedded-core

I'm having some issues with the 'kmod' package.  In particular,
the package claims:
   commit b4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
   Author: Khem Raj <raj.khem@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@gmail.com>
     Signed-off-by: Richard Purdie <richard.purdie@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?

n.b. this was tested using Poky/Yocto 0fc8317c6385eb1ed69ca4522ee6424c456dbb92
which is a few days old.  I've not checked the very latest master (yet).

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kmod packaging question
  2013-10-14 17:00 kmod packaging question Gary Thomas
@ 2013-10-16  0:17 ` Saul Wold
  2013-10-16  0:23   ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2013-10-16  0:17 UTC (permalink / raw)
  To: Gary Thomas; +Cc: openembedded-core

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@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@gmail.com>
>      Signed-off-by: Richard Purdie <richard.purdie@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.

Sau!

> n.b. this was tested using Poky/Yocto
> 0fc8317c6385eb1ed69ca4522ee6424c456dbb92
> which is a few days old.  I've not checked the very latest master (yet).
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kmod packaging question
  2013-10-16  0:17 ` Saul Wold
@ 2013-10-16  0:23   ` Saul Wold
  2013-10-16  3:44     ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2013-10-16  0:23 UTC (permalink / raw)
  Cc: openembedded-core

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@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@gmail.com>
>>      Signed-off-by: Richard Purdie <richard.purdie@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.

Sau!

> Sau!
>
>> 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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kmod packaging question
  2013-10-16  0:23   ` Saul Wold
@ 2013-10-16  3:44     ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2013-10-16  3:44 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

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@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@gmail.com>
>>>      Signed-off-by: Richard Purdie <richard.purdie@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-16  3:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 17:00 kmod packaging question Gary Thomas
2013-10-16  0:17 ` Saul Wold
2013-10-16  0:23   ` Saul Wold
2013-10-16  3:44     ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox