# 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)
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