From 1ae3ff6ff613ef40f97593bf0ae7c4b1798a2b38 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Tue, 7 May 2024 13:59:30 +0300 Subject: mkarchiso: increase the additional free space added to efiboot.img Less than 1 MiB (but rounded up to one) is needed to account for file and directory entries, especially when using FAT32. Otherwise the ISO build could stop with: Disk full The rest of the increase is to allow more space for adding custom files after the fact, i.e. when repacking the ISO. E.g. for the purposes of adding a signed boot loader for Secure Boot or similar. See https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#ISO_repacking --- CHANGELOG.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.rst') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f3a2d54..c6421f7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,9 @@ Changed - Moved the ``pkglist.x86_64.txt`` file outside the bootstrap tarball's ``root.x86_64`` directly to avoid polluting the root file system. - Use 4 MiB OVMF files in ``run_archiso`` instead of the old 2 MiB ones. +- Increase the additional free space of the EFI partition size from 1 MiB to 8 MiB to account for file system overhead + when using FAT32 (needs less than 1 MiB) and to give more space for adding custom files when repacking an ISO (e.g. + when preparing it for Secure Boot). Deprecated ---------- -- cgit v1.2.3-70-g09d2