wok rev 20312
Up tazlito (498) uefi support for live cd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 17 10:47:21 2018 +0200 (2018-05-17) |
parents | ed3fbdd82f11 |
children | fa77ea692592 |
files | syslinux/stuff/tools/isohybrid.sh tazlito/receipt |
line diff
1.1 --- a/syslinux/stuff/tools/isohybrid.sh Mon May 14 22:22:48 2018 +0200 1.2 +++ b/syslinux/stuff/tools/isohybrid.sh Thu May 17 10:47:21 2018 +0200 1.3 @@ -196,7 +196,6 @@ 1.4 sectorcount=$(($cylinders * $heads * $sectors)) 1.5 store32 $(($e + 12)) $sectorcount 1.6 if [ -n "$efi_ofs" ]; then 1.7 - efi_len=$(($sectorcount - $efi_ofs)) 1.8 [ $(read16 0 1024) -eq 35615 -a $(read16 11 0) -ne 35615 ] && 1.9 ddq bs=512 conv=notrunc skip=2 seek=44 count=20 if=$iso of=$iso 1.10 store32 $((446+16)) $((0xFFFFFE00)) 1.11 @@ -247,6 +246,8 @@ 1.12 [ -n "$entry" ] && echo "$iso: efi boot ignore --entry $entry" && entry= 1.13 partype=0 1.14 efi_ofs=$((4*$(read32 $cat 104))) 1.15 + efi_len=$(($(read16 $(($efi_ofs/4)) 19))) 1.16 + [ $efi_len -eq 0 ] && efi_len=$(($(read32 $(($efi_ofs/4)) 32))) 1.17 fi 1.18 lba=$(read32 $cat 40) 1.19 [ $(read32 $lba 64) -eq 1886961915 ] ||
2.1 --- a/tazlito/receipt Mon May 14 22:22:48 2018 +0200 2.2 +++ b/tazlito/receipt Thu May 17 10:47:21 2018 +0200 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="tazlito" 2.7 -VERSION="495" 2.8 +VERSION="498" 2.9 CATEGORY="base-system" 2.10 SHORT_DESC="SliTaz Live Tool." 2.11 MAINTAINER="pascal.bellard@slitaz.org"