Em maio 21, 2019 2:24 Ike Devolder via arch-dev-public escreveu:
Without looking at dracut yet, I have a few questions:
- Is there a description how to move from mkinitcpio to dracut?
No, not yet. But it is as simple as running dracut -H -f /boot/initramfs-linux.img, for trying it out. I'll work later this week on a wiki page, but the good thing is, it has plenty documentation available.
- Does dracut support what mkinitcpio has? all the hooks and stuff
It does support even more than we do currently. It can boot from pretty much anything, including NFS and NBD.
- did you already add pacman hooks for dracut as we need for mkinitcpio,
or is that not needed?
We will certainly need a hook to trigger the rebuild, but I didn't add it as a part of the dracut package yet, because I need to write them, but I want first to see if dracut is a good fit for Arch or not.
When I have some time to spare I certainly will try it out.
Please do. And make sure you have your fallback image working when you do.
Regards, Giancarlo Razzolini