> /boot/efi is clearly not ideal for a number of reasons, but this
is what
> we have today and changing this opens up another can of worms. For
> starters this will stop working:
>
> # rpm -ql shim-x64
> /boot/efi/EFI/BOOT/BOOTX64.EFI
> /boot/efi/EFI/BOOT/fbx64.efi
> /boot/efi/EFI/fedora/BOOTX64.CSV
That's actually an anti-feature that needs to go. Packages should not
use rpm to put files directly in /boot. Systemd doesn't do this, the
kernel doesn't do this (except for %ghost files). grub2 does some
directories, but thankfully no files,
Nope:
# rpm -ql grub2-efi-x64 | grep EFI
/boot/efi/EFI/fedora/grub.cfg
/boot/efi/EFI/fedora/grubx64.efi
Only systemd-boot gets this right today, with files packaged in /usr and
bootctl updating the ESP. Oh, and fwupd handles it correctly too.
take care,
Gerd