Been fighting for the last weeks trying to integrate kernel-install command into the system and for it to automatically work... Even tried to understand how to install and write pacman hooks.
Finally gave up on that and just made mkinitcpio preset files work for me. It's not perfect, but follows the UAPI spec a bit closer.
This after rewriting the initrd generation to use also systemd.
https://pastee.dev/p/hiOFakkU#OnfYIf5s3tFgG9SJ0U62fUpa5S6y95iI
In the last 2 months, I've been catching up with changes I didn't even know had happened 😅 :
- initrd using systemd now seems to work compared to last time I tried
- fallback image generation doesnt appear to be reccomended anymore
- finally stopped using my way of handling /efi and /boot where /boot was just a bond mount. for years and years that caused problems specially with fwupd. Now I let systemd automount /boot and removed the mount at /efi.
- fstab just 3 lines now.
