wok-next diff syslinux/stuff/tools/isohybrid.sh @ rev 20197

syslinux: updates from rolling
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 15:07:20 2017 +0100 (2017-11-03)
parents 087d71ec38ce
children 350e506f3821
line diff
     1.1 --- a/syslinux/stuff/tools/isohybrid.sh	Sat Oct 01 10:31:58 2016 +0200
     1.2 +++ b/syslinux/stuff/tools/isohybrid.sh	Fri Nov 03 15:07:20 2017 +0100
     1.3 @@ -253,7 +253,7 @@
     1.4  trksz=$(( 512 * $heads * $sectors ))
     1.5  cylinders=$(( ($size + $trksz - 1) / $trksz ))
     1.6  pad=$(( (($cylinders * $trksz) - $size) / 512 ))
     1.7 -[ $pad -eq 0 ] || ddq bs=512 count=$pad if=/dev/zero >> $iso
     1.8 +#[ $pad -eq 0 ] || ddq bs=512 count=$pad if=/dev/zero >> $iso
     1.9  if [ $cylinders -gt 1024 ]; then
    1.10  	cat 1>&2 <<EOT
    1.11  Warning: more than 1024 cylinders ($cylinders).