From b10251bf91059ac0d4f336b10f77214f7116a0e3 Mon Sep 17 00:00:00 2001 From: fkDead Date: Thu, 26 Nov 2026 14:00:08 +0100 Subject: [PATCH] feat(boot): boot UEFI through GRUB instead of systemd-boot systemd-boot needed its own copy of the kernel and initramfs in the EFI partition; GRUB reads them straight from the ISO 9660 file system. fws-i18n is also made executable in the image. --- configs/baseline/profiledef.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/baseline/profiledef.sh b/configs/baseline/profiledef.sh index de55065..0cfb9c5 100644 --- a/configs/baseline/profiledef.sh +++ b/configs/baseline/profiledef.sh @@ -8,7 +8,9 @@ iso_application="Linux made simple, without giving up its power" iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" install_dir="fws" buildmodes=('iso') -bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') +# uefi.grub: the EFI partition only holds GRUB, which loads the kernel and +# initramfs from ISO 9660 (systemd-boot needed its own copy of both). +bootmodes=('bios.syslinux' 'uefi.grub') arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="squashfs" @@ -47,5 +49,6 @@ file_permissions=( ["/usr/local/bin/fws-bugreport"]="0:0:755" ["/usr/local/bin/fws-wallpaper"]="0:0:755" ["/usr/local/bin/fws-install-step"]="0:0:755" + ["/usr/local/bin/fws-i18n"]="0:0:755" ["/etc/grub.d/42_fws-recovery"]="0:0:755" )