# HG changeset patch # User Pascal Bellard # Date 1526546841 -7200 # Node ID f215c72530a6343ef4884f279331d785bfc04e67 # Parent ed3fbdd82f11457988d51bc9a292e152301672fa Up tazlito (498) uefi support for live cd diff -r ed3fbdd82f11 -r f215c72530a6 syslinux/stuff/tools/isohybrid.sh --- a/syslinux/stuff/tools/isohybrid.sh Mon May 14 22:22:48 2018 +0200 +++ b/syslinux/stuff/tools/isohybrid.sh Thu May 17 10:47:21 2018 +0200 @@ -196,7 +196,6 @@ sectorcount=$(($cylinders * $heads * $sectors)) store32 $(($e + 12)) $sectorcount if [ -n "$efi_ofs" ]; then - efi_len=$(($sectorcount - $efi_ofs)) [ $(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 store32 $((446+16)) $((0xFFFFFE00)) @@ -247,6 +246,8 @@ [ -n "$entry" ] && echo "$iso: efi boot ignore --entry $entry" && entry= partype=0 efi_ofs=$((4*$(read32 $cat 104))) + efi_len=$(($(read16 $(($efi_ofs/4)) 19))) + [ $efi_len -eq 0 ] && efi_len=$(($(read32 $(($efi_ofs/4)) 32))) fi lba=$(read32 $cat 40) [ $(read32 $lba 64) -eq 1886961915 ] || diff -r ed3fbdd82f11 -r f215c72530a6 tazlito/receipt --- a/tazlito/receipt Mon May 14 22:22:48 2018 +0200 +++ b/tazlito/receipt Thu May 17 10:47:21 2018 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazlito" -VERSION="495" +VERSION="498" CATEGORY="base-system" SHORT_DESC="SliTaz Live Tool." MAINTAINER="pascal.bellard@slitaz.org"