Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: cuppie on September 19, 2012, 01:51:07 PM
-
Hi,
I've been looking on this forum , and also asked google, but can't find a solution.
When compiling a custom kernel , I can't get the modules compressed.
So I wonder how it's done.
btw I'm compiling the same current kernel (3.0.21), and also the same config.
With only the remove of a reboot quirk in reboot.c , for the compulab fitpc2
This Quirk doesn't work anymore in 3.x kernels , and has to be removed.
I've already tested with uncompressed modules , and this is working fine.
Kind regards,
Cuppie
-
Manually via a loop.
-
Thanks for the quick reply,
So it's done via some kind of script, is it possible to get it somehow?
On the other hand , I'm thinking about the need of compiling all modules again.
I'm using the same kernel.
I'm just testing the custom with the original compressed modules , and so far it seems to work fine.
Cuppie
-
An alternative might be to use GNU gzip with the "-r" option, i.e.:
"gzip -9r *ko"
-
Thanks!
-
A change like that should be compatible with the current modules, yes.
If this is still an issue with the latest Linus' kernel, please report it to kernel.org too.
-
Well... it's okay to compress all modules manually, but what do I do with modules.dep? Do I have to edit it manually to append '.gz' substring to each module name? Hm...
-
Use depmod command