wok diff syslinux/stuff/iso2exe/init @ rev 14261
syslinux/iso2exe: add NT+ support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 30 18:36:46 2013 +0100 (2013-03-30) |
parents | 65b3fd0022ed |
children | 692d9593f959 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/init Thu Mar 28 11:51:42 2013 +0100 1.2 +++ b/syslinux/stuff/iso2exe/init Sat Mar 30 18:36:46 2013 +0100 1.3 @@ -353,6 +353,13 @@ 1.4 [ $? -eq 0 ] || return 1.5 usbdev || return 1.6 dd if=/mnt/$ISO of=$device 1.7 + if [ $(get 0 /mnt/$ISO) -eq 23117 ]; then # iso2exe ? 1.8 + LOC=$(get 69 /mnt/$ISO 1) 1.9 + # move isohybrid boot sector (partitionable) 1.10 + dd if=/mnt/$ISO bs=512 count=1 skip=$LOC of=$device conv=notrunc 1.11 + # move tazlito data (backward compatibility) 1.12 + dd if=/mnt/$ISO bs=512 count=20 skip=$(($LOC+1)) of=$device seek=2 conv=notrunc 1.13 + fi 1.14 } 1.15 1.16 usbkey()