Only append splash portion to initramfs if SPLASH is set

cleanup-cruft
agaffney 17 years ago
parent 87e5760f7d
commit ea695cec24

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
# Distributed under the GPL v2
07 Aug 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
Only append splash portion to initramfs if SPLASH is set
29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel.8:
Fix typo in man page, butt -> but

@ -476,7 +476,11 @@ create_initramfs() {
fi
append_data 'blkid' "${DISKLABEL}"
append_data 'splash' "${SPLASH}"
if isTrue "${SPLASH}"
then
append_data 'splash' "${SPLASH}"
fi
if isTrue "${FIRMWARE}" && [ -n "${FIRMWARE_DIR}" ]
then

Loading…
Cancel
Save