Re: [arch-general] [arch-dev-public] Mkinitcpio replacement with Dracut
I have been looking into dracut for some time now, I copied some stuff from
them on a few of my own scripts and they also have an actual test suite, that we currently can't use on Arch, but I plan to change that.
Are there any news/updates on this front? I have dracut installed in one test VM, but I have to run it manually after each kernel update. The wiki page [1] is still empty, so how do I configure proper hooks to build the initramfs (and possibly also disable the mkinitcpio ones)? [1] https://wiki.archlinux.org/index.php/Dracut -- damjan
Em agosto 22, 2019 16:29 Damjan Georgievski via arch-general escreveu:
Are there any news/updates on this front?
I have dracut installed in one test VM, but I have to run it manually after each kernel update. The wiki page [1] is still empty, so how do I configure proper hooks to build the initramfs (and possibly also disable the mkinitcpio ones)?
Yes. I have been working on pacman hooks for this. There are a few things I need to iron out before releasing it though. There's a need to change all kernels as well, because the hooks are deployed with them currently, this has to change. On the other hand, I have been using dracut for months now without any issues. Regards, Giancarlo Razzolini
On Thu, 22 Aug 2019 at 21:36, Giancarlo Razzolini <grazzolini@archlinux.org> wrote:
Em agosto 22, 2019 16:29 Damjan Georgievski via arch-general escreveu:
Are there any news/updates on this front?
I have dracut installed in one test VM, but I have to run it manually after each kernel update. The wiki page [1] is still empty, so how do I configure proper hooks to build the initramfs (and possibly also disable the mkinitcpio ones)?
Yes. I have been working on pacman hooks for this. There are a few things I need to iron out before releasing it though. There's a need to change all kernels as well, because the hooks are deployed with them currently, this has to change.
Just in case, I'll mention kernel-install [1] once again, it's a nice central hub where initramfs creators, bootloaders (and optionally signing of uefi images) can hook into, and then any kernel install can call all the users hooks with a single command. [1] https://www.freedesktop.org/software/systemd/man/kernel-install.html -- damjan
Em agosto 22, 2019 17:15 Damjan Georgievski via arch-general escreveu:
Just in case, I'll mention kernel-install [1] once again, it's a nice central hub where initramfs creators, bootloaders (and optionally signing of uefi images) can hook into, and then any kernel install can call all the users hooks with a single command.
[1] https://www.freedesktop.org/software/systemd/man/kernel-install.html
I've searched the thread and didn't find a previous mention from you about kernel-install. It seems interesting, I'll take a look at it. Regards, Giancarlo Razzolini
On 8/22/19 3:36 PM, Giancarlo Razzolini via arch-general wrote:
Em agosto 22, 2019 16:29 Damjan Georgievski via arch-general escreveu: ...
On the other hand, I have been using dracut for months now without any issues.
Regards, Giancarlo Razzolini
I too have been using it for months by packaging hooks to use dracut instead of mkinitrd with my custom kernel builds. The only issue I had early on was with raid, as explained in my post of june 15th - the solution was to ensure that the initrd is built with --mdadmconf. Since then it's been rock solid on several computers includng 2 running raid 6. Anyway - works like a champ.Thanks for taking this on Giancarlo.
participants (3)
-
Damjan Georgievski
-
Genes Lists
-
Giancarlo Razzolini