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.
This commit is contained in:
1 file changed
+4
-1
@@ -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)"
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
||||||
install_dir="fws"
|
install_dir="fws"
|
||||||
buildmodes=('iso')
|
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"
|
arch="x86_64"
|
||||||
pacman_conf="pacman.conf"
|
pacman_conf="pacman.conf"
|
||||||
airootfs_image_type="squashfs"
|
airootfs_image_type="squashfs"
|
||||||
@@ -47,5 +49,6 @@ file_permissions=(
|
|||||||
["/usr/local/bin/fws-bugreport"]="0:0:755"
|
["/usr/local/bin/fws-bugreport"]="0:0:755"
|
||||||
["/usr/local/bin/fws-wallpaper"]="0:0:755"
|
["/usr/local/bin/fws-wallpaper"]="0:0:755"
|
||||||
["/usr/local/bin/fws-install-step"]="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"
|
["/etc/grub.d/42_fws-recovery"]="0:0:755"
|
||||||
)
|
)
|
||||||
Reference in new issue
Block a user