diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-03-01 21:51:50 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-03-01 23:57:47 -0300 |
commit | 526be1579e515beb7bfb04b154b23450eb6589cb (patch) | |
tree | f1eebaedc52ca3217a0e29962a4c16f68d3ae8b8 | |
parent | 63399225b514fdbd84b1b5562f854c44209ccc11 (diff) | |
download | archiso32-526be1579e515beb7bfb04b154b23450eb6589cb.tar.xz |
[archiso] Increase EFI image size for El Torito boot method
Current build leaves ~800K free of 31M in the FAT filesystem, adding 9M.
Going beyond 65535 sectors of 512-byte is a bit special,
but works for EFI. Image size is reported a zero in boot catalog,
but xorriso does a good job, and writes right value in hybrid-partition.
Tested booting in qemu in both modes (cd-rom and hybrid) and works fine.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-rwxr-xr-x | configs/releng/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 4173eea..747d6c4 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -169,7 +169,7 @@ make_efi() { # Prepare efiboot.img::/EFI for "El Torito" EFI boot mode make_efiboot() { mkdir -p ${work_dir}/iso/EFI/archiso - truncate -s 31M ${work_dir}/iso/EFI/archiso/efiboot.img + truncate -s 40M ${work_dir}/iso/EFI/archiso/efiboot.img mkfs.vfat -n ARCHISO_EFI ${work_dir}/iso/EFI/archiso/efiboot.img mkdir -p ${work_dir}/efiboot |