# HG changeset patch
# User Christophe Lincoln <pankso@slitaz.org>
# Date 1302053208 -7200
# Node ID c08cda6805e811654d134105735d5fb24ff9663e
# Parent  bd5603ab68aa3a5d227463f79ca32ed2b6e65e03
grub4dos: add splash image

diff -r bd5603ab68aa -r c08cda6805e8 grub4dos/receipt
--- a/grub4dos/receipt	Wed Apr 06 02:59:10 2011 +0200
+++ b/grub4dos/receipt	Wed Apr 06 03:26:48 2011 +0200
@@ -30,11 +30,14 @@
 # Rules to gen a SliTaz package suitable for Tazpkg.
 genpkg_rules()
 {
-	mkdir -p $fs/usr/share/boot $fs/usr/bin
+	mkdir -p $fs/usr/share/boot \
+		$fs/usr/bin \
+		$fs/boot/grub
 	lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
 		$fs/usr/share/boot/grub.exe.lzma
 	lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
 	cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
 	chmod +x $fs/usr/bin/bootlace
 	# Skip hmload.com badgrub.exe grldr.mbr
+	cp -a stuff/splash.xpm.gz $fs/boot/grub
 }
diff -r bd5603ab68aa -r c08cda6805e8 grub4dos/stuff/menu.lst
--- a/grub4dos/stuff/menu.lst	Wed Apr 06 02:59:10 2011 +0200
+++ b/grub4dos/stuff/menu.lst	Wed Apr 06 03:26:48 2011 +0200
@@ -2,7 +2,11 @@
 configfile
 default 0
 timeout 1
-color yellow/brown light-green/black
+
+# Graphical splash image.
+splashimage=/boot/grub/splash.xpm.gz
+
+#color yellow/brown light-green/black
 
 title Grub menu
 	errorcheck off
diff -r bd5603ab68aa -r c08cda6805e8 grub4dos/stuff/splash.xpm.gz
Binary file grub4dos/stuff/splash.xpm.gz has changed