wok diff syslinux/stuff/iso2exe/init @ rev 17591

syslinux/isohybrib.exe: add --md5, --undo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 10 08:53:27 2015 +0100 (2015-02-10)
parents 20fc9712d9c6
children 65c5ea249c9a
line diff
     1.1 --- a/syslinux/stuff/iso2exe/init	Sat Feb 07 20:40:28 2015 +0100
     1.2 +++ b/syslinux/stuff/iso2exe/init	Tue Feb 10 08:53:27 2015 +0100
     1.3 @@ -655,7 +655,7 @@
     1.4  {
     1.5  	dotwait "Checking iso image"
     1.6  	[ "$(ddq if=/dev/loop0 bs=2k skip=16 \
     1.7 -	     count=$(echo $(get 32848 /dev/loop0)) | md5sum)" == \
     1.8 +	     count=$(echo $(get 32848 /dev/loop0 4)) | md5sum)" == \
     1.9  	  "$(ddq if=/dev/loop0 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"