Re: [PATCH 1/2] kbuild: add target to install gzipped modules

From: Dave Jones
Date: Thu Dec 29 2011 - 12:21:36 EST

On Thu, Dec 29, 2011 at 01:50:18PM -0200, Lucas De Marchi wrote:
> Add target in Makefile to compress the module after it's installed.
> Module-init-tools and libkmod can handle gzipped modules.
> This is not much useful for distributions because the package will gzip
> the modules and call depmod in a install rule.

It might actually be a worthwhile thing for distributions.

For a Fedora kernel, gzipping modules saves around 80MB of diskspace per
installed kernel. That the RPM is compressed is irrelevant, the on-disk
footprint is more interesting, given that the bulk of the modules installed
will never even be loaded.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at