Support comression "lzop" (not just "lzo") as wrongly advertised by comments in genkernel.conf before

cleanup-cruft
Sebastian Pipping 13 years ago
parent b7efd3d658
commit 0da4543b8a

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

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

Loading…
Cancel
Save