From 9e65a8ef241ebd9ac76f7604fa40f43316349460 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 19 Jun 2007 18:10:11 +0000 Subject: [PATCH] * improved tardiba build.sh slightly for not trying to install the custom grubsplash for a target that won't boot from HD. (could be done more elegantly regarding other bootloaders!) git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@73 471cc25b-571d-0410-8e29-1f4f9b506cef --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 64bf6aa..fbea213 100644 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/tardiba/build.sh -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2007 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -14,6 +14,7 @@ . target/mnemosyne/build.sh +custom_grubsplash() { echo_status "Changing iso's grub to use Expert Software theme..." cp -f $base/target/tardiba/files/expert-bootsplash.xpm.gz $isofsdir/boot/ sed -i -e 's,opensde\-grub\-splash\.xpm,expert\-bootsplash\.xpm,' \ @@ -23,3 +24,6 @@ sed -i -e 's,opensde\-grub\-splash\.xpm,expert\-bootsplash\.xpm,' \ $isofsdir/boot/grub/menu.lst echo_status "Done." +} + +[ "$SDECFG_TRG_MNEMOSYNE_BOOT" != 'HD' ] || custom_grubsplash