From 0da4543b8a23b882e536293a8af095707ebafb91 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 8 Apr 2012 20:27:01 +0200 Subject: [PATCH] Support comression "lzop" (not just "lzo") as wrongly advertised by comments in genkernel.conf before --- ChangeLog | 4 ++++ gen_initramfs.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c728da5..2533e58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ + 08 Apr 2012; Sebastian Pipping gen_initramfs.sh: + Support comression "lzop" (not just "lzo") as wrongly advertised by comments + in genkernel.conf before + 08 Apr 2012; Sebastian Pipping gen_initramfs.sh: Error out on unknown initrd compression, reported by Peter Gantner (bug #411197) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index a33fa7e..066c389 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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