# HG changeset patch # User Pascal Bellard # Date 1448367113 -3600 # Node ID 63576dd4277787eae5ef1d38fa5eca8977b3fb34 # Parent 9246e659d01c2cec53d958c2d0925a46d21cc363 syslinux/taziso: get flavor diff -r 9246e659d01c -r 63576dd42777 syslinux/stuff/iso2exe/taziso --- a/syslinux/stuff/iso2exe/taziso Mon Nov 23 17:55:34 2015 +0100 +++ b/syslinux/stuff/iso2exe/taziso Tue Nov 24 13:11:53 2015 +0100 @@ -1045,6 +1045,14 @@ rm -rf /tmp/data } +flavor() +{ + name="$(flavdata | cpio -t 2> /dev/null | sed 's/.[a-z]*$//;q')" + echo "Create ${name:=flavor}.flavor..." + tazlito iso2flavor $ISO $name + ls -l $name.flavor +} + if [ "$1" == "--build" ]; then #install-begin uuencode -m - < ifmem.bin | sed -e '/^ifmemcode$/r/dev/stdin' \ -e '/^ifmemcode$/d' -i $0 @@ -1259,6 +1267,7 @@ $(xfile tazusb "usbkey" "USB key read/write installation") \ $(ishybrid "usbbootkey" "USB boot key (read only)") \ $(hasflavinfo "showfavinfo" "Show flavor extra info") \ +$(xfile tazlito "flavor" "Get flavor file") \ $(cdfile isolinux.cfg "floppyset" "Boot floppy set") \ $(hastazboot "tazboot" "Get tazboot.exe Linux loader") \ $(cdexe boot/bzImage "bzimage" "Get linux DOS/EXE file") \