Hi Martin-Éric, sorry for the late answer.
A systemd-boot entry is already created since 7.00-2 (#1081704): if `/boot/efi/EFI/systemd/systemd-bootx64.efi` exists, the postinst copies the 64bit image to the ESP and writes `loader/entries/memtest.conf` (the upcoming 9.00 does the same on arm64). But the logic has some known limits, which could explain why you didn't get the entry:
- the ESP is hardcoded to `/boot/efi`, while with systemd-boot it's often `/efi` or `/boot`, and XBOOTLDR isn't considered (`bootctl --print-boot-path` would give the right place);
- nothing for 32bit UEFI or loong64;- the entry is only created when memtest86+ is configured, so it's missing if systemd-boot is installed later.
How is your system set up (architecture, ESP mount point, XBOOTLDR)? The report came from an i386 machine with grub-pc, so I suppose systemd-boot is used on another one.
I'd like to review the whole systemd-boot logic, keeping this bug open for that, but I don't know when I'll be able to do it, since I'm busy with many other things. I also have no experience with systemd-boot: most of the information above comes from research and tests done with the help of an LLM, so feedback and tests from someone who uses it would be very welcome.
OpenPGP_signature.asc
Description: OpenPGP digital signature

