Add splashimage= line to grub.conf if /boot/grub/splash.xpm.gz exists
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 3 Feb 2008 20:14:58 +0000 (20:14 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 3 Feb 2008 20:14:58 +0000 (20:14 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1271 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/bootloader-setup.sh

index 4f2783822543eeb84902150014f7791bcef76503..cb44ada38bc12664712393fe5f6df77ff73b41a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
+  targets/support/bootloader-setup.sh:
+  Add splashimage= line to grub.conf if /boot/grub/splash.xpm.gz exists
+
   02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   examples/generic_stage_template.spec, examples/grp_template.spec,
   examples/livecd-stage1_template.spec,
index 71fa06585f87eb4b77cb256843ea369f3276b0b0..c938dfa52d1a9316e5dc52dfb10f0e1ed185fe2e 100755 (executable)
@@ -457,6 +457,10 @@ case ${clst_hostarch} in
                        echo "timeout 150" >> ${icfg}
                        echo "pager on" >> ${icfg}
 
+                       if [ -e ${1}/boot/grub/splash.xpm.gz ]; then
+                               echo "splashimage=/boot/grub/splash.xpm.gz" >> ${icfg}
+                       fi
+
                        # Setup help message
                        echo >> ${icfg}
                        echo "title help" >> ${icfg}