wok diff syslinux/stuff/iso2exe/taziso @ rev 19323
syslinux: fix isofs checksum
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 14 10:16:48 2016 +0200 (2016-07-14) |
parents | 83ffe9fe03d8 |
children | ec6aef1425c3 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/taziso Sun Apr 10 12:35:57 2016 +0200 1.2 +++ b/syslinux/stuff/iso2exe/taziso Thu Jul 14 10:16:48 2016 +0200 1.3 @@ -898,7 +898,7 @@ 1.4 { 1.5 dotwait "Checking iso image" 1.6 [ "$(ddq if="$ISO" bs=2k skip=16 \ 1.7 - count=$(echo $(get 32848 "$ISO" 4)) | md5sum)" == \ 1.8 + count=$(($(get 32848 "$ISO" 4)-16)) | md5sum)" == \ 1.9 "$(ddq if="$ISO" bs=16 count=1 skip=2047 | od -N 16 -t x1 -An | \ 1.10 sed 's/ //g') -" ] && echo "OK" || echo "ERROR" 1.11 echo -en "\rChecking iso hybrid boot..."