# HG changeset patch # User Pascal Bellard # Date 1526306351 -7200 # Node ID a28f5ae5d7c17257f5f2e4398027d62066b27018 # Parent d06c2890ad57e9242b2a1ca304df014ac66f235a syslinux/isohybrid.sh: resize EFI partition diff -r d06c2890ad57 -r a28f5ae5d7c1 bind-client/receipt --- a/bind-client/receipt Wed May 09 12:44:14 2018 +0200 +++ b/bind-client/receipt Mon May 14 15:59:11 2018 +0200 @@ -9,7 +9,7 @@ WEB_SITE="http://www.isc.org/products/BIND/" WANTED="bind" -DEPENDS="libbind libcrypto attr libpcap" +DEPENDS="libbind libcrypto attr libpcap readline" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r d06c2890ad57 -r a28f5ae5d7c1 syslinux/stuff/tools/isohybrid.sh --- a/syslinux/stuff/tools/isohybrid.sh Wed May 09 12:44:14 2018 +0200 +++ b/syslinux/stuff/tools/isohybrid.sh Mon May 14 15:59:11 2018 +0200 @@ -192,7 +192,9 @@ ecyl=$(( (($cylinders -1) & 0xff) <<24)) store32 $(($e + 4)) $(($partype + (($heads - 1) <<8) +$esect +$ecyl)) store32 $(($e + 8)) $offset - store32 $(($e + 12)) $(($cylinders * $heads * $sectors)) + sectsize=$(($cylinders * $heads * $sectors)) + store32 $(($e + 12)) $sectsize + efi_len=$(($sectsize - $efi_ofs)) if [ -n "$efi_ofs" ]; then [ $(read16 0 1024) -eq 35615 -a $(read16 11 0) -ne 35615 ] && ddq bs=512 conv=notrunc skip=2 seek=44 count=20 if=$iso of=$iso @@ -243,9 +245,7 @@ if [ $(read8 $cat 65) -eq 239 ]; then [ -n "$entry" ] && echo "$iso: efi boot ignore --entry $entry" && entry= partype=0 - efi_len=$(read16 $cat 102) efi_ofs=$((4*$(read32 $cat 104))) - efi_len=$(((($efi_ofs+$efi_len+0xFFF)&0xFFF000)-$efi_ofs)) fi lba=$(read32 $cat 40) [ $(read32 $lba 64) -eq 1886961915 ] ||