From c0ed5530a5f904ab63ccffa2ce3ec43f4720be49 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 8 Apr 2012 19:41:34 +0200 Subject: [PATCH] Fix initrd compression "gzip", reported by Peter Gantner (bug #411197) --- ChangeLog | 3 +++ gen_initramfs.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 82da676..8c35954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ + 08 Apr 2012; Sebastian Pipping gen_initramfs.sh: + Fix initrd compression "gzip", reported by Peter Gantner (bug #411197) + 30 Mar 2012; Sebastian Pipping genkernel: Bump version to 3.4.28 diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 419d557..09592bc 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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