kmod packaging question
I'm having some issues with the 'kmod' package. In particular, the package claims:
commit b4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
Author: Khem Raj <[email protected]>
Date: Tue Jan 31 00:34:01 2012 -0800
kmod: Add recipes
kmod is replacement for module-init-tools
(From OE-Core rev: 716606f5446534e48b45fcc017e8bbdfe7f15e26)
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).
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 21 lines · Gary Thomas
I'm having some issues with the 'kmod' package. In particular, the package claims:
commitb4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
Author: Khem Raj <[email protected]>
Date: Tue Jan 31 00:34:01 2012 -0800kmod: Add recipes
kmod is replacement for module-init-tools
(From OE-Core rev:
716606f5446534e48b45fcc017e8bbdfe7f15e26)Signed-off-by Khem Raj <[email protected]>Signed-off-by Richard Purdie <[email protected]>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.
Quoted 5 lines
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!
Quoted 4 lines
n.b. this was tested using Poky/Yocto
0fc8317c6385eb1ed69ca4522ee6424c456dbb92
which is a few days old. I've not checked the very latest master (yet).
Quoted 22 lines · Saul Wold
Quoted 21 lines · Gary Thomas
I'm having some issues with the 'kmod' package. In particular, the package claims:
commitb4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
Author: Khem Raj <[email protected]>
Date: Tue Jan 31 00:34:01 2012 -0800kmod: Add recipes
kmod is replacement for module-init-tools
(From OE-Core rev:
716606f5446534e48b45fcc017e8bbdfe7f15e26)Signed-off-by Khem Raj <[email protected]>Signed-off-by Richard Purdie <[email protected]>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.
Quoted 8 lines
Quoted 5 lines
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!
Quoted 12 lines
Sau!
Quoted 4 lines
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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 26 lines · Saul Wold
Quoted 25 lines · Saul Wold
Quoted 24 lines · Gary Thomas
I'm having some issues with the 'kmod' package. In particular, the package claims:
commitb4bc0a7f1b90a51e26d6ab74d964ff81cfe05904
Author: Khem Raj <[email protected]>
Date: Tue Jan 31 00:34:01 2012 -0800kmod: Add recipes
kmod is replacement for module-init-tools
(From OE-Core rev:
716606f5446534e48b45fcc017e8bbdfe7f15e26)Signed-off-by Khem Raj <[email protected]>Signed-off-by Richard Purdie <[email protected]>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.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
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!!
Quoted 10 lines
Quoted 10 lines
Quoted 4 lines
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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------