Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22310 - gzip kernel modules
Attached to Project:
Arch Linux
Opened by Zeqadious (Zeqadious) - Tuesday, 04 January 2011, 15:50 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 30 January 2011, 10:46 GMT
Opened by Zeqadious (Zeqadious) - Tuesday, 04 January 2011, 15:50 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 30 January 2011, 10:46 GMT
|
DetailsDescription:
In my endeavor to always make my install smaller, I have begun to gzip -9 my kernel modules. This is a very simple thing to do and it only requires a simple tweak to the initcpio scripts, functions and autodetect, and for module-init-tools to be compiled with the --enable-zlib switch. The resultant modprobe, rmmod, insmod binaries have no dynamic dependency on zlib so zlib does not need to be moved to /lib. I've wondered why Arch doesn't already do this, but I find no answers in the forums (search), or flyspray bugs/request for this. On my system /lib/modules/2.6.36-ARCH is 144MB, whereas with all modules gzipped -9, it is 40MB. Additional info: I've actually wrote my own PKGBUILD for a replacement module-init-tools packaged called module-init-tools_gz, where I can demonstrate what I've done to accomplish this idea. http://zeqadious.homelinux.net/arch-linux/sources/core/module-init-tools_gz/PKGBUILD http://zeqadious.homelinux.net/arch-linux/sources/core/module-init-tools_gz/module-init-tools_gz.install Feedback? Zeq |
This task depends upon
Closed by Thomas Bächler (brain0)
Sunday, 30 January 2011, 10:46 GMT
Reason for closing: Implemented
Sunday, 30 January 2011, 10:46 GMT
Reason for closing: Implemented
Is there a speed hit having these compressed?
http://zeqadious.dyndns.org/arch-linux/sources/core/module-init-tools_gz/PKGBUILD
http://zeqadious.dyndns.org/arch-linux/sources/core/module-init-tools_gz/module-init-tools_gz.install
https://projects.archlinux.org/mkinitcpio.git/commit/?id=692a44574241c32e213f48884a653a9535021091