summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-24 09:17:07 +0800
committertranch <tranch.xiao@gmail.com>2026-07-24 09:17:07 +0800
commita7116e218cda6c5db5e7ba57faef638a54c500d6 (patch)
tree22834ba61d801e8c2a8e481a101c2da6bcbb65af /installer
parent471cd249e333446dc73e91adde5d8ea36ca19796 (diff)
downloadAeroCore-OS-a7116e218cda6c5db5e7ba57faef638a54c500d6.tar.gz
AeroCore-OS-a7116e218cda6c5db5e7ba57faef638a54c500d6.zip
Fix live installer GRUB EFI fallback
Install the full EFI GRUB package and create the fallback directory.
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/build.sh b/installer/build.sh
index 921e628..6f1561f 100755
--- a/installer/build.sh
+++ b/installer/build.sh
@@ -19,6 +19,7 @@ dnf --setopt=excludepkgs= install -y \
libblockdev-lvm \
dracut-live \
livesys-scripts \
+ grub2-efi-x64 \
grub2-efi-x64-cdboot
# Apply the same AeroCore overlay to the live session where possible.
@@ -62,6 +63,7 @@ if compgen -G '/usr/lib/efi/*/*/EFI' >/dev/null; then
fi
# bootc-image-builder needs the Fedora live ISO fallback EFI loader.
+mkdir -p /boot/efi/EFI/BOOT
cp -v /boot/efi/EFI/fedora/grubx64.efi /boot/efi/EFI/BOOT/fbx64.efi
systemd-firstboot --timezone UTC