wok-next diff syslinux/stuff/iso2exe/README @ rev 18675
syslinux/taziso: get custom config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 10:57:10 2015 +0100 (2015-12-06) |
parents | dd6cfeea0048 |
children | c832599ce658 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/README Sun Jan 25 13:52:18 2015 +0100 1.2 +++ b/syslinux/stuff/iso2exe/README Sun Dec 06 10:57:10 2015 +0100 1.3 @@ -77,7 +77,8 @@ 1.4 1.5 (1) The following script will show computed and stored md5 hash 1.6 #!/bin/sh 1.7 -dd if=$1 bs=32k skip=1 2>/dev/null | md5sum 1.8 +count=$(echo $(od -j 32848 -N 2 -t u2 -An $1)) 1.9 +dd if=$1 bs=2k skip=16 count=$count 2>/dev/null | md5sum 1.10 od -j 32752 -N 16 -t x1 -An $1 | sed 's/ //g' 1.11 1.12 (2) Eltorito boot (i.e. bootable CD-ROM by BIOS) is not concerned by iso2exe.