]> git.baikalelectronics.ru Git - kernel.git/commit
Don't set the INITRD_COMPRESS environment variable automatically
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Dec 2013 00:52:45 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Dec 2013 00:52:45 +0000 (16:52 -0800)
commitdfa7e778e5253e8769a9b595dd875aa2dbf4c5c7
tree35ba6eb35920624fbaf16e1c404f3012531c95a9
parent043a3e2009494896ce9632bfe303371f8836ec90
Don't set the INITRD_COMPRESS environment variable automatically

Commit d6718fe2d0a5 ("./Makefile: export initial ramdisk compression
config option") started setting the INITRD_COMPRESS environment variable
depending on which decompression models the kernel had available.

That is completely broken.

For example, we by default have CONFIG_RD_LZ4 enabled, and are able to
decompress such an initrd, but the user tools to *create* such an initrd
may not be availble.  So trying to tell dracut to generate an
lz4-compressed image just because we can decode such an image is
completely inappropriate.

Cc: J P <ppandit@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Makefile