next try to fix systemd-boot

This commit is contained in:
Tobias Powalowski 2024-04-13 16:59:07 +02:00
parent 50b7d96dd7
commit 6843375069

View file

@ -21,7 +21,7 @@ BOOTDEOF
_chroot_mount
# systemd-boot https://www.freedesktop.org/software/systemd/man/latest/systemd-gpt-auto-generator.html
# /boot XBOOTLDR in vfat format can be booted by systemd-boot
chroot "${_DESTDIR}" bootctl --gracefull install &>"${_LOG}" || chroot "${_DESTDIR}" bootctl update &>"${_LOG}"
chroot "${_DESTDIR}" bootctl --graceful install &>"${_LOG}" || chroot "${_DESTDIR}" bootctl update &>"${_LOG}"
_chroot_umount
if [[ -e "${_DESTDIR}/${_UEFISYS_MP}/EFI/systemd/systemd-boot${_SPEC_UEFI_ARCH}.efi" ]]; then
_dialog --msgbox "You will now be put into the editor to edit:\nloader.conf and menu entry files\n\nAfter you save your changes, exit the editor." 8 50