Implement --[no-]compress-initramfs option to complement --[no-]integrated-initramfs
authorRichard Yao <ryao@cs.stonybrook.edu>
Sat, 28 Jan 2012 01:08:58 +0000 (20:08 -0500)
committerRobin H. Johnson <robbat2@gentoo.org>
Sat, 28 Jan 2012 20:17:00 +0000 (20:17 +0000)
commit73520cb6b2e2479bf230d114d0dcb90f6ccd100c
tree087679e3f36c084f78901218e5f3fd937cae2277
parent7879a0c74c3b1722f231711c07d92d26880762b8
Implement --[no-]compress-initramfs option to complement --[no-]integrated-initramfs

When using an integrated initramfs (including in kernel during build),
it's better NOT to compress the initramfs, as the kernel build process
will then be re-compressing it. This can provide space savings on disk
as well as potential time & memory savings (one less decompress pass is
needed before the kernel can use the initramfs).

This functionality was previously available in the undocumented
COMPRESS_INITRD variable.

Code-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
(commit message rewritten).
18 files changed:
arch/alpha/config.sh
arch/arm/config.sh
arch/ia64/config.sh
arch/mips/config.sh
arch/parisc/config.sh
arch/parisc64/config.sh
arch/ppc/config.sh
arch/ppc64/config.sh
arch/sparc/config.sh
arch/sparc64/config.sh
arch/um/config.sh
arch/x86/config.sh
arch/x86_64/config.sh
doc/genkernel.8.txt
gen_cmdline.sh
gen_determineargs.sh
gen_initramfs.sh
genkernel.conf