On Thursday, September 15, 2011 03:04:37 PM Canek Peláez Valdés wrote: > On Thu, Sep 15, 2011 at 1:59 PM, Mick <[email protected]> wrote: > > On Thursday 15 Sep 2011 16:13:26 Michael Schreckenbauer wrote: > > 1. The minimal initramfs will only need to be built once (and rarely > > rebuilt thereafter). This removes one of my fears and it was a main > > objection for me - I would hate to have to rebuild initramfs every time > > I roll a new kernel, or libs and what not of fs happen to be udpated, > > etc. > > In my experience, it takes more time to build the kernel than it takes > to rebuild the initramfs. And if you choose to use dracut, the process > is automatic (you always call dracut with the same options, unless you > suddenly add LVM or something similar).
Canek, as you've been using dracut already extensively, is it possible to set default options/modules/whatever to get to the situation where simply running "dracut" without any extra options will always recreate the correct initramfs? > I didn't use an initramfs for my first years using Gentoo. Since I > started to use media-gfx/splashutils a couple of years ago, every time > I upgraded my kernel, I splash_geninitramfs'd my initramfs. Now I do > the same, but with plymouth and systemd using dracut. It's just part > of the process of getting a new kernel. And, if the initramfs has other tools in it, after every emerge of these tools. This is where I see a possible cause for failure as then the situation arises where the initramfs will still start "correctly", but because it's using older tools it's possible that older versions and new versions start running simultaneously and get mixed up in a way that is not immediately apparent. -- Joost

