# HG changeset patch # User Pascal Bellard # Date 1490978257 -7200 # Node ID 6c622282f662d3223e8871e32e8d22a7fa05927f # Parent 96b6a30a3f9a1769539dd1f12ad23213004e56d5 syslinux/iso2exe: fix floppyset diff -r 96b6a30a3f9a -r 6c622282f662 syslinux/stuff/iso2exe/init --- a/syslinux/stuff/iso2exe/init Fri Mar 31 16:58:50 2017 +0200 +++ b/syslinux/stuff/iso2exe/init Fri Mar 31 18:37:37 2017 +0200 @@ -826,7 +826,7 @@ gotcdfile isolinux.cfg parse_isolinux < $file > /tmp/var$$ . /tmp/var$$ - for i in $media/$KERNEL $(dirname $file)/$KERNEL $media/$(locase $KERNEL) \ + for i in /media/cdrom/$KERNEL $(dirname $file)/$KERNEL /media/cdrom/$(locase $KERNEL) \ $(dirname $file)/$(locase $KERNEL); do [ -s $i ] && KERNEL=$i && break done @@ -856,7 +856,7 @@ if [ "$INITRD" ]; then l=0 for i in ${INITRD//,/ }; do - for j in $media/$i $(dirname $KERNEL)/$i $media/$(locase $i) \ + for j in /media/cdrom/$i $(dirname $KERNEL)/$i /media/cdrom/$(locase $i) \ $(dirname $KERNEL)/$(locase $i); do [ -s $j ] && i=$j && break done