Support comression "lzop" (not just "lzo") as wrongly advertised by comments in genke...
authorSebastian Pipping <sebastian@pipping.org>
Sun, 8 Apr 2012 18:27:01 +0000 (20:27 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 8 Apr 2012 18:27:01 +0000 (20:27 +0200)
ChangeLog
gen_initramfs.sh

index c728da5818b134848153fb7852636f054cb88d4b..2533e5878da3e5719c71ef4ce57fe1edad15655f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@
 # Distributed under the GPL v2
 # $Id$
 
+  08 Apr 2012; Sebastian Pipping <sping@gentoo.org> gen_initramfs.sh:
+  Support comression "lzop" (not just "lzo") as wrongly advertised by comments
+  in genkernel.conf before
+
   08 Apr 2012; Sebastian Pipping <sping@gentoo.org> gen_initramfs.sh:
   Error out on unknown initrd compression, reported by Peter Gantner (bug
   #411197)
index a33fa7e1b29e69e7816d4c1a82a3f45286bf570a..066c389fb51451d03cf87388f544494516080e8e 100755 (executable)
@@ -712,7 +712,7 @@ create_initramfs() {
                        pkg_lzop='app-arch/lzop'
                        local compression
                        case ${COMPRESS_INITRD_TYPE} in
-                               xz|lzma|bzip2|gzip) compression=${COMPRESS_INITRD_TYPE} ;;
+                               xz|lzma|bzip2|gzip|lzop) compression=${COMPRESS_INITRD_TYPE} ;;
                                lzo) compression=lzop ;;
                                best)
                                        if grep -sq '^CONFIG_RD_XZ=y' ${KERNEL_DIR}/.config && test -n "${cmd_xz}" ; then