From 8a19a56f8088205424c3e2c584ef8b1adc0e2b53 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sun, 3 Feb 2008 20:14:58 +0000 Subject: [PATCH] Add splashimage= line to grub.conf if /boot/grub/splash.xpm.gz exists git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1271 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ targets/support/bootloader-setup.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4f278382..cb44ada3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 03 Feb 2008; Andrew Gaffney + targets/support/bootloader-setup.sh: + Add splashimage= line to grub.conf if /boot/grub/splash.xpm.gz exists + 02 Feb 2008; Chris Gianelloni examples/generic_stage_template.spec, examples/grp_template.spec, examples/livecd-stage1_template.spec, diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 71fa0658..c938dfa5 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -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} -- 2.26.2