wok rev 23936

syslinux/isohybrid: force GPT detection (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 09 12:46:01 2020 +0000 (2020-09-09)
parents cac92e0c04fc
children 6da35b86d228
files syslinux/stuff/tools/isohybrid.sh
line diff
     1.1 --- a/syslinux/stuff/tools/isohybrid.sh	Wed Sep 09 12:44:57 2020 +0000
     1.2 +++ b/syslinux/stuff/tools/isohybrid.sh	Wed Sep 09 12:46:01 2020 +0000
     1.3 @@ -244,7 +244,6 @@
     1.4  cylinders=$(( ($size + $trksz - 1) / $trksz ))
     1.5  pad=$(( (($cylinders * $trksz) - $size) / 512 ))
     1.6  #[ $pad -ne 0 ] && size=$(($size+$pad)) && ddq bs=512 count=$pad if=/dev/zero >> $iso
     1.7 -size=$(stat -c "%s" $iso)
     1.8  if [ $cylinders -gt 1024 ]; then
     1.9  	cat 1>&2 <<EOT
    1.10  Warning: more than 1024 cylinders ($cylinders).