tazusb rev 114

tazusb: Fix path to extlinux.conf
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 03 21:37:13 2012 +0100 (2012-03-03)
parents 37bdf44827c6
children d7551978424e
files tazusb
line diff
     1.1 --- a/tazusb	Fri Mar 02 19:22:25 2012 +0100
     1.2 +++ b/tazusb	Sat Mar 03 21:37:13 2012 +0100
     1.3 @@ -320,7 +320,6 @@
     1.4  	
     1.5  	# Use existing isolinux.cfg for extlinux.conf or syslinux.cfg
     1.6  	cp /media/cdrom/boot/isolinux/isolinux.cfg $TARGET_ROOT/boot/$ST/$ST.$STE
     1.7 -	#sed -i "s/isolinux.msg/$ST.msg/"	 $TARGET_ROOT/boot/$ST/$ST.$STE
     1.8  	
     1.9  	# Update DVD autoinstall
    1.10  	sed -i "s/LABEL=packages-[^,]*/UUID=$UUID/g" $(grep -l append $TARGET_ROOT/boot/$ST/*)
    1.11 @@ -334,16 +333,8 @@
    1.12  	cp /media/cdrom/boot/isolinux/*.cfg $TARGET_ROOT/boot/$ST
    1.13  	cp /media/cdrom/boot/isolinux/*.kbd $TARGET_ROOT/boot/$ST
    1.14  	cp /media/cdrom/boot/isolinux/*.c32 $TARGET_ROOT/boot/$ST
    1.15 -	sed -i s/'SliTaz GNU\/Linux'/'SliTaz GNU\/Linux LiveUSB'/ \
    1.16 -		$TARGET_ROOT/boot/$ST/isolinux.cfg
    1.17 -	
    1.18 -	#[ -f $TARGET_ROOT/boot/$ST/isolinux.msg ] &&
    1.19 -	#mv $TARGET_ROOT/boot/$ST/isolinux.msg $TARGET_ROOT/boot/$ST/$ST.msg
    1.20 -	# Modifing all cfg files and include file if exists.
    1.21 -	#for cfg in $TARGET_ROOT/boot/$ST/*.cfg $TARGET_ROOT/boot/$ST/common.inc
    1.22 -	#do
    1.23 -		#[ -f $cfg ] && sed -i s/isolinux.msg/$ST.msg/ $cfg
    1.24 -	#done
    1.25 +	sed -i -e s/'SliTaz GNU\/Linux'/'SliTaz GNU\/Linux LiveUSB'/ \
    1.26 +		-e s/'isolinux'/'extlinux'/ $TARGET_ROOT/boot/$ST/$ST.$STE
    1.27  }
    1.28  
    1.29  # Let user exit or reboot.