Hi all I've been using Agathe's uki.conf generator a while, but there were a few downsides: - generates a file in /etc - required using full-blown UKIs, which a) take a lot of limited ESP space, b) don't play well with distro's secure boot implementation
Instead, I've tested an alternate approach based on what I believe Ubuntu and Fedora do: post-process the kernel image to tack just a DTB loader in front. I've sent it upstream here: https://github.com/ubuntu/stubble/pull/89 I've only tested it with systemd-boot, not with GRUB, and this also doesn't help with full-blown UKIs. Thoughts welcome! I wonder if there's a chance we could get this in systemd upstream, next to other kernel-install hooks and next to the new machine database. Best, -- Loïc Minier

