HI,
I was always using aur/memtest86-efi 1:10.6build3000-2 in the past. Now I want to switch to extra/memtest86+ 6.20-1. But this does not install properly in my environment.
It puts the efi file in /boot/memtest86+/memtest.efi. But in my environment it should be in /boot/EFI/memtest86+/memtest.efi
There is no way that this PKGBUILD would install stuff in /boot/EFI. When I copy the files manually to /boot/EFI the tool works fine.
Is this an issue with the package or is this an issue with my setup? What is wrong with /boot/EFI? systemd-boot and dracut work just fine with this setup.
@mbod
many tools still put their bootloader-relevant stuff in /boot because that is where all the grub configs look for them. For memtest it could be changed in packaging by modifying the line you quoted but not sure when or if that will happen.
The best way to mitigate that is to mount your esp partition to /boot so that the default for grub also works for systemd-boot.
Personally, I also use /boot/efi for esp due to historical reasons and just copy stuff around after an update - but my next installs will definitely have their esp at /boot - maybe I will even migrate my existing installs at some point if it annoys me enough.
Neither. Arch has historically hard-installed images to /boot. There have been conversations about changing that but I don’t think they have ever gone anywhere.
One easy solution would be to add a hook to copy it where you want it to be.