slitaz-tools rev 679

tazinst: copy grub splash image
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 22 16:49:15 2012 +0100 (2012-02-22)
parents b9c73b173a0d
children f9f298ac7bfa
files installer/tazinst
line diff
     1.1 --- a/installer/tazinst	Wed Feb 22 16:39:16 2012 +0100
     1.2 +++ b/installer/tazinst	Wed Feb 22 16:49:15 2012 +0100
     1.3 @@ -604,6 +604,12 @@
     1.4  		cp -a $SOURCE_ROOT/boot/isolinux/*.lss $TARGET_ROOT/boot/isolinux
     1.5  		cp -a $SOURCE_ROOT/boot/isolinux/*.c32 $TARGET_ROOT/boot/isolinux
     1.6  	fi
     1.7 +	# GRUB splash image
     1.8 +	if [ -f "$SOURCE/ROOT/boot/grub/splash.xmp.gz" ]; then
     1.9 +		debug "Copy GRUB splash image"
    1.10 +		mkdir -p $TARGET_ROOT/boot/grub
    1.11 +		$SOURCE/ROOT/boot/grub/splash.xpm.gz $TARGET_ROOT/boot/grub
    1.12 +	fi
    1.13  }
    1.14  
    1.15  need_package()