buildroot/fs
Valentine Barshak 391c82efa1 linux: Do not force GZIP initramfs compression
Initramfs compression does not make much sense for the architectures
that support compressed kernel images because in this case the data
would be compressed twice. This will eventually result in a bigger
kernel image and time overhead when uncompressing it.
The only reason to use compressed initramfs is to reduce memory
usage when the kernel prepares rootfs, and both the unpacked
filesystem and initramfs.cpio are present in the memory.

Buildroot attempts to force GZIP compression for initramfs,
however it doesn't always work because initramfs compression mode
depends on RAM disk compression supported by the kernel.
Thus, CONFIG_INITRAMFS_COMPRESSION_GZIP depends on CONFIG_RD_GZIP.
If CONFIG_RD_GZIP is not set, setting GZIP initramfs compression
will have no effect.

Besides, the kernel also supports other compression methods,
like BZIP2, LZMA, XZ and LZO. Forcing the good old GZIP does not
really make much sense any more.

This removes initramfs compression settings from Buildroot,
so that the default value preset in the kernel config is used,
which is CONFIG_INITRAMFS_COMPRESSION_NONE.

If initramfs compression is still needed, it can be set
in the kernel config (using make linux-menuconfig)

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-08 14:50:31 +02:00
..
cloop Normalize separator size to 80 2013-06-07 10:54:54 +02:00
cpio Normalize separator size to 80 2013-06-07 10:54:54 +02:00
cramfs Normalize separator size to 80 2013-06-07 10:54:54 +02:00
ext2 Normalize separator size to 80 2013-06-07 10:54:54 +02:00
initramfs linux: Do not force GZIP initramfs compression 2013-07-08 14:50:31 +02:00
iso9660 Normalize separator size to 80 in remaining makefiles 2013-06-20 17:32:07 +02:00
jffs2 Normalize separator size to 80 2013-06-07 10:54:54 +02:00
romfs Normalize separator size to 80 2013-06-07 10:54:54 +02:00
squashfs Normalize separator size to 80 2013-06-07 10:54:54 +02:00
tar Normalize separator size to 80 2013-06-07 10:54:54 +02:00
ubifs Normalize separator size to 80 2013-06-07 10:54:54 +02:00
common.mk packages: add ability for packages to create users 2013-04-25 22:56:42 +02:00
Config.in reorder fs alphabetically 2012-12-02 23:19:25 -08:00