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