[arch-dev-public] Mkinitcpio replacement with Dracut
ike.devolder at gmail.com
Tue May 21 05:24:20 UTC 2019
On 21/05/2019 04:41, Giancarlo Razzolini via arch-dev-public wrote:
> Hi All,
> Recently, Dave announced his intention to step down as mkinitcpio
> maintainer. I have been
> handling a few things on it, made some small changes to our
> mkinitcpio-busybox , closed a few old
> bugs, while also made sure some of the other bug reports are still
> valid. 
> I have been testing a few patches to mkinitcpio for a while to fix those
> bugs, but last week Dave
> and I had a discussion on IRC and we agreed that we could spend better
> time contributing somewhere
> else than keeping working with mkinitcpio.
> Currently mkinitcpio cannot boot from NFS properly, mknitcpio-nfs-utils
>  uses very old code. Even
> though ipconfig works, it has several drawbacks compared to using more
> modern tools. Not to mention that
> we have two use cases for mkinitcpio, which are base and systemd enabled
> initramfs. Even though we use
> by default our base enabled initramfs, we have to support systemd
> related issues and we have to keep
> developing our systemd hooks.
> 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.
> With this in mind, I have packaged dracut for Arch and put it on Extra
> . I have been using a dracut
> initramfs for a while now to boot my encrypted partition. Surprisingly,
> I only had to create a small patch
> to one of the dm-crypt module scripts 
> In this initial phase I want to ask as many of you to test this as a
> replacement to mkinitcpio in your setups,
> as many as possible, and in as many scenarios as possible. We will
> probably have to keep both packages on
> our repos for a long time, but once we are confident it's a good fit, we
> can replace mkinitcpio on our iso and base,
> so new installs get dracut by default.
> Please, drop in your comments as well.
> Giancarlo Razzolini
>  https://bugs.archlinux.org/index.php?string=mkinitcpio&project=0
>  https://git.archlinux.org/mkinitcpio-nfs-utils.git/
>  https://www.archlinux.org/packages/extra/x86_64/dracut/
Without looking at dracut yet, I have a few questions:
- Is there a description how to move from mkinitcpio to dracut?
- Does dracut support what mkinitcpio has? all the hooks and stuff
- did you already add pacman hooks for dracut as we need for mkinitcpio,
or is that not needed?
When I have some time to spare I certainly will try it out.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public