Only append splash portion to initramfs if SPLASH is set
authoragaffney <agaffney@kagome.(none)>
Thu, 7 Aug 2008 21:00:50 +0000 (16:00 -0500)
committeragaffney <agaffney@kagome.(none)>
Thu, 7 Aug 2008 21:00:50 +0000 (16:00 -0500)
ChangeLog
gen_initramfs.sh

index 52d66ccb4e1d39776ce8d1c43c8cf736a7de836a..70c27343c09c1396b878a51de4575ba74efe23f8 100644 (file)
--- 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 <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
 
index ce308b5dcafdf4c6fbab09037ee998d83b6e434f..f8cffb1418eef37f08e173a73009e64270bda271 100644 (file)
@@ -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