wok diff syslinux/stuff/iso2exe/init @ rev 14266
syslinux/iso2exe: add partition table
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 01 17:47:04 2013 +0200 (2013-04-01) |
parents | bf8be127c60b |
children | d965b76fefd1 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/init Mon Apr 01 09:45:40 2013 +0200 1.2 +++ b/syslinux/stuff/iso2exe/init Mon Apr 01 17:47:04 2013 +0200 1.3 @@ -352,13 +352,6 @@ 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()