Re: [Patch] Read CONFIG_RD_ variables for initramfs compression

From: Andrew Morton
Date: Tue Oct 29 2013 - 18:15:15 EST

On Tue, 15 Oct 2013 20:25:57 +0530 (IST) P J P <ppandit@xxxxxxxxxx> wrote:

> When expert configuration option(CONFIG_EXPERT) is enabled,
> menuconfig offers a choice of compression algorithm to compress
> initial ramfs image; This choice is stored into CONFIG_RD_*
> variables. But usr/Makefile uses earlier INITRAMFS_COMPRESSION_*
> macros to build initial ramfs file. Since none of them is defined,
> resulting 'initramfs_data.cpio' file remains un-compressed.
> This patch updates the Makefile to use CONFIG_RD_* variables and
> adds support for LZ4 compression algorithm.

This patch breaks my x86_64 allmodconfig build, because I don't have
the lz4 executable installed:

/usr/src/25/scripts/ line 307: lz4: command not found
make[1]: *** [usr/initramfs_data.cpio.lz4] Error 1

This obviously isn't acceptable!
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