Fix initrd compression "gzip", reported by Peter Gantner (bug #411197)
authorSebastian Pipping <sebastian@pipping.org>
Sun, 8 Apr 2012 17:41:34 +0000 (19:41 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 8 Apr 2012 17:41:34 +0000 (19:41 +0200)
ChangeLog
gen_initramfs.sh

index 82da67676d45bc3d31872ee51dae60c3f8fba412..8c35954294fe4e1de5965f6ace8b81dce8932538 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
index 419d557ec80b876d23bfce7a7ac60152703a42a0..09592bcd919e9744ad74cf762d62bd2437f85b25 100755 (executable)
@@ -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