tazlito rev 242

tazlito build-loram cdrom: add vesamenu support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 23 21:14:45 2012 +0100 (2012-02-23)
parents 33fc8fb443f1
children 6010b2a85528
files tazlito
line diff
     1.1 --- a/tazlito	Thu Feb 23 15:14:56 2012 +0100
     1.2 +++ b/tazlito	Thu Feb 23 21:14:45 2012 +0100
     1.3 @@ -1008,9 +1008,10 @@
     1.4  		# We keep enough information to do unloram...
     1.5  		sed -i 's/label slitaz/label orgslitaz/' \
     1.6  			$TMP_DIR/loramiso/boot/isolinux/common.cfg
     1.7 -		sed -i	-e 's|=/boot/rootfs\(.*\).gz |=/boot/rootfs.gz |' \
     1.8 -			-e 's|label slitaz1|label slitaz|' \
     1.9 -			-e '/label slitaz[1-9]/{NNNd}' \
    1.10 +		sed -i '/ifmem/{NNNNNNNNd};s/LABEL SliTaz [^L].*/HIDE/' \
    1.11 +			$TMP_DIR/loramiso/boot/isolinux/isolinux.cfg
    1.12 +		set -- $(grep 'append [0-9]' $TMP_DIR/loramiso/boot/isolinux/common.cfg)
    1.13 +		sed -i "s/label $3\$/label slitaz/;s|=/boot/rootfs\(.*\).gz |=/boot/rootfs.gz |" \
    1.14  			$TMP_DIR/loramiso/boot/isolinux/*.cfg
    1.15  	fi
    1.16  }