wok-next rev 18626

syslinux/taziso: get flavor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 24 13:11:53 2015 +0100 (2015-11-24)
parents 9246e659d01c
children 1ba1a3d62975
files syslinux/stuff/iso2exe/taziso
line diff
     1.1 --- a/syslinux/stuff/iso2exe/taziso	Mon Nov 23 17:55:34 2015 +0100
     1.2 +++ b/syslinux/stuff/iso2exe/taziso	Tue Nov 24 13:11:53 2015 +0100
     1.3 @@ -1045,6 +1045,14 @@
     1.4  	rm -rf /tmp/data
     1.5  }
     1.6  
     1.7 +flavor()
     1.8 +{
     1.9 +	name="$(flavdata | cpio -t 2> /dev/null | sed 's/.[a-z]*$//;q')"
    1.10 +	echo "Create ${name:=flavor}.flavor..."
    1.11 +	tazlito iso2flavor $ISO $name
    1.12 +	ls -l $name.flavor
    1.13 +}
    1.14 +
    1.15  if [ "$1" == "--build" ]; then	#install-begin
    1.16  	uuencode -m - < ifmem.bin | sed -e '/^ifmemcode$/r/dev/stdin' \
    1.17  	  -e '/^ifmemcode$/d' -i $0
    1.18 @@ -1259,6 +1267,7 @@
    1.19  $(xfile tazusb		"usbkey"	"USB key read/write installation") \
    1.20  $(ishybrid		"usbbootkey"	"USB boot key (read only)") \
    1.21  $(hasflavinfo		"showfavinfo"	"Show flavor extra info") \
    1.22 +$(xfile tazlito		"flavor"	"Get flavor file") \
    1.23  $(cdfile isolinux.cfg	"floppyset"	"Boot floppy set") \
    1.24  $(hastazboot		"tazboot"	"Get tazboot.exe Linux loader") \
    1.25  $(cdexe boot/bzImage	"bzimage"	"Get linux DOS/EXE file") \