wok-6.x rev 17637
syslinux-tools: add taziso (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 14 21:16:05 2015 +0100 (2015-02-14) |
parents | 77c3484cda94 |
children | 5e1076889439 |
files | syslinux/stuff/iso2exe/taziso |
line diff
1.1 --- a/syslinux/stuff/iso2exe/taziso Sat Feb 14 20:57:25 2015 +0100 1.2 +++ b/syslinux/stuff/iso2exe/taziso Sat Feb 14 21:16:05 2015 +0100 1.3 @@ -372,10 +372,10 @@ 1.4 1.5 EOT 1.6 while read file title; do 1.7 - file=$(ls $mnt/slitaz/boot/*file* 2> /dev/null) 1.8 - [ -s "$file" ] && cat >> $mnt/slitaz/menu.lst <<EOT 1.9 + file=$(ls $mnt/slitaz/boot/*$file* 2> /dev/null) 1.10 + [ -s "$file" ] && cat >> $mnt/slitaz/boot/menu.lst <<EOT 1.11 title $title 1.12 - kernel $file 1.13 + kernel ${file#$mnt} 1.14 1.15 EOT 1.16 done <<EOT