Add these two hooks to /etc/pacman.d/hooks/
and systemd-boot will be updated automatically with new enteries.
Prerequisites:
bootctl install
(no configuration in necesarry!)mkdir /boot/$(cat /etc/machine-id)
(needed forkernel-install
to work, see the official documentation)
Other configuration requirements:
- None
Conflicts:
- Should not be used at the same time as a hook to generate a new dracut image on update, my hook is all you need
"Problems":
- Images are not placed in
/boot/
, kernel + initrd goes to/boot/$MACHINE-ID/$KVER/{vmlinuz,initrd}