From: agaffney Date: Thu, 7 Aug 2008 21:00:50 +0000 (-0500) Subject: Only append splash portion to initramfs if SPLASH is set X-Git-Tag: v3.4.10.902~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea695cec2460bacd2b42854e9763ead5304afadc;p=genkernel.git Only append splash portion to initramfs if SPLASH is set --- diff --git a/ChangeLog b/ChangeLog index 52d66cc..70c2734 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni # Distributed under the GPL v2 + 07 Aug 2008; Andrew Gaffney gen_initramfs.sh: + Only append splash portion to initramfs if SPLASH is set + 29 Jul 2008; Andrew Gaffney genkernel.8: Fix typo in man page, butt -> but diff --git a/gen_initramfs.sh b/gen_initramfs.sh index ce308b5..f8cffb1 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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