Fix initrd compression "gzip", reported by Peter Gantner (bug #411197)

cleanup-cruft
Sebastian Pipping 13 years ago
parent 77d997744d
commit c0ed5530a5

@ -5,6 +5,9 @@
# Distributed under the GPL v2
# $Id$
08 Apr 2012; Sebastian Pipping <sping@gentoo.org> gen_initramfs.sh:
Fix initrd compression "gzip", reported by Peter Gantner (bug #411197)
30 Mar 2012; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.28

@ -707,7 +707,7 @@ create_initramfs() {
cmd_lzop=$(type -p lzop)
local compression
case ${COMPRESS_INITRD_TYPE} in
xz|lzma|bzip2|gzip2|lzo) compression=${COMPRESS_INITRD_TYPE} ;;
xz|lzma|bzip2|gzip|lzo) compression=${COMPRESS_INITRD_TYPE} ;;
best)
if grep -sq '^CONFIG_RD_XZ=y' ${KERNEL_DIR}/.config && test -n "${cmd_xz}" ; then
compression=xz

Loading…
Cancel
Save