Catch case with no initramfs compression supported by kernel (bug #423847)

cleanup-cruft
Sebastian Pipping 13 years ago
parent 7045223180
commit 15a33f3d28

@ -5,6 +5,10 @@
# Distributed under the GPL v2
# $Id$
08 Jul 2012; Sebastian Pipping <sping@gentoo.org> gen_configkernel.sh,
gen_initramfs.sh:
Catch case with no initramfs compression supported by kernel (bug #423847)
08 Jul 2012; Sebastian Pipping <sping@gentoo.org> gen_configkernel.sh,
gen_initramfs.sh:
Fix detection of initramfs compression with bzip2 as best candidate

@ -790,6 +790,7 @@ create_initramfs() {
[[ ${COMPRESS_INITRD_TYPE} == best ]] && break
fi
done
[[ -z "${compression}" ]] && gen_die "None of the initramfs we tried are supported by your kernel (config file \"${KERNEL_CONFIG}\"), strange!?"
;;
*)
gen_die "Compression '${COMPRESS_INITRD_TYPE}' unknown"

Loading…
Cancel
Save