wok rev 20268
syslinux/isohybrid.sh: align efi partition to next MB
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 23:25:35 2018 +0100 (2018-03-16) |
parents | 8a51ff352615 |
children | 1625bdc36b44 |
files | syslinux/stuff/tools/isohybrid.sh tazlito/receipt |
line diff
1.1 --- a/syslinux/stuff/tools/isohybrid.sh Thu Mar 15 23:03:13 2018 +0100 1.2 +++ b/syslinux/stuff/tools/isohybrid.sh Fri Mar 16 23:25:35 2018 +0100 1.3 @@ -244,7 +244,8 @@ 1.4 [ -n "$entry" ] && echo "$iso: efi boot ignore --entry $entry" && entry= 1.5 partype=0 1.6 efi_len=$(read16 $cat 102) 1.7 - efi_ofs=$((4*$(read32 $cat 104))) 1.8 + efi_ofs=$((4*$(read32 $cat 106))) 1.9 + efi_len=$(((($efi_ofs+$efi_len+0xFFF)&0xFFF000)-$efi_ofs)) 1.10 fi 1.11 lba=$(read32 $cat 40) 1.12 [ $(read32 $lba 64) -eq 1886961915 ] ||
2.1 --- a/tazlito/receipt Thu Mar 15 23:03:13 2018 +0100 2.2 +++ b/tazlito/receipt Fri Mar 16 23:25:35 2018 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="tazlito" 2.7 -VERSION="488" 2.8 +VERSION="490" 2.9 CATEGORY="base-system" 2.10 SHORT_DESC="SliTaz Live Tool." 2.11 MAINTAINER="pascal.bellard@slitaz.org"