# HG changeset patch # User Pascal Bellard # Date 1599655497 0 # Node ID cac92e0c04fc8b96efe1ce76388ba02b609f8a9a # Parent 833c2c04420b6059a54f716561a4185e5f99590e syslinux/isohybrid: force GPT detection diff -r 833c2c04420b -r cac92e0c04fc exfat-utils/receipt --- a/exfat-utils/receipt Mon Sep 07 16:46:15 2020 +0100 +++ b/exfat-utils/receipt Wed Sep 09 12:44:57 2020 +0000 @@ -9,6 +9,7 @@ WEB_SITE="https://github.com/relan/exfat" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/relan/exfat/archive/v$VERSION/$TARBALL" +PROVIDE="exfat-fuse" DEPENDS="fuse" BUILD_DEPENDS="autoconf automake fuse-dev" diff -r 833c2c04420b -r cac92e0c04fc syslinux/stuff/tools/isohybrid.sh --- a/syslinux/stuff/tools/isohybrid.sh Mon Sep 07 16:46:15 2020 +0100 +++ b/syslinux/stuff/tools/isohybrid.sh Wed Sep 09 12:44:57 2020 +0000 @@ -183,7 +183,7 @@ esect=$(( ($sectors + ((($cylinders -1) & 0x300) >>2)) <<16)) ecyl=$(( (($cylinders -1) & 0xff) <<24)) epart=$(((($heads - 1) <<8) +$esect +$ecyl)) - sectorcount=$(($cylinders * $heads * $sectors)) + sectorcount=$(($size/512)) lastlba=$(($sectorcount -1)) if [ -z "$efi_ofs" ]; then store32 $e 0x10080 @@ -199,17 +199,12 @@ store32 $((446+12)) $lastlba uudecode <> $iso +#[ $pad -ne 0 ] && size=$(($size+$pad)) && ddq bs=512 count=$pad if=/dev/zero >> $iso +size=$(stat -c "%s" $iso) if [ $cylinders -gt 1024 ]; then cat 1>&2 <