Skip to content

Commit

Permalink
Put systemd-boot in EFI/fedora and change the description
Browse files Browse the repository at this point in the history
By default the older systemd bootctl's put the bootloader
in EFI/systemd and gave it a generic linux loader descrption.

The newer systemd's (and a not yet upstream patch) allows
this to be overriden.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
  • Loading branch information
jlintonarm committed Oct 7, 2022
1 parent c180a07 commit 2920492
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyanaconda/modules/storage/bootloader/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ def installbootmgr(self, args=None):

log.info("systemd.py: install systemd boot install (root=%s)", conf.target.system_root)

rc = util.execWithRedirect("bootctl", [ "install", "--esp-path=/boot/efi" ],
rc = util.execWithRedirect("bootctl", [ "install", "--esp-path=/boot/efi",
"--efi-boot-option-description=fedora",
"--loader-path=/EFI/fedora/" ],
root=conf.target.system_root,
env_prune=['MALLOC_PERTURB_'])
if rc:
Expand Down

0 comments on commit 2920492

Please sign in to comment.