4 ms·
Relatively straight-forward once you read up on alpm hooks [0] to make sure you're rebuilding the init at the right times. The wiki [1] has working examples tha
by throwmkinit 5y ago
Relatively straight-forward once you read up on alpm hooks [0] to make sure you're rebuilding the init at the right times. The wiki [1] has working examples that are drop-in dracut replacements for /usr/share/libalpm/scripts/mkinitcpio-{install,remove}. Dracut also makes it easy to build unified kernel images that can be signed for secure boot, which I never figured out how to do with mkinitcpio.
[0] https://man.archlinux.org/man/alpm-hooks.5 https://man.archlinux.org/man/alpm-hooks.5
[1] https://wiki.archlinux.org/title/Dracut https://wiki.archlinux.org/title/Dracut