wok-current rev 19877
syslinux/iso2exe: fix floppyset
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 18:37:37 2017 +0200 (2017-03-31) |
parents | 96b6a30a3f9a |
children | 264def5cb7fe |
files | syslinux/stuff/iso2exe/init |
line diff
1.1 --- a/syslinux/stuff/iso2exe/init Fri Mar 31 16:58:50 2017 +0200 1.2 +++ b/syslinux/stuff/iso2exe/init Fri Mar 31 18:37:37 2017 +0200 1.3 @@ -826,7 +826,7 @@ 1.4 gotcdfile isolinux.cfg 1.5 parse_isolinux < $file > /tmp/var$$ 1.6 . /tmp/var$$ 1.7 - for i in $media/$KERNEL $(dirname $file)/$KERNEL $media/$(locase $KERNEL) \ 1.8 + for i in /media/cdrom/$KERNEL $(dirname $file)/$KERNEL /media/cdrom/$(locase $KERNEL) \ 1.9 $(dirname $file)/$(locase $KERNEL); do 1.10 [ -s $i ] && KERNEL=$i && break 1.11 done 1.12 @@ -856,7 +856,7 @@ 1.13 if [ "$INITRD" ]; then 1.14 l=0 1.15 for i in ${INITRD//,/ }; do 1.16 - for j in $media/$i $(dirname $KERNEL)/$i $media/$(locase $i) \ 1.17 + for j in /media/cdrom/$i $(dirname $KERNEL)/$i /media/cdrom/$(locase $i) \ 1.18 $(dirname $KERNEL)/$(locase $i); do 1.19 [ -s $j ] && i=$j && break 1.20 done