Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd and initramfs
Date: Thu, 22 Aug 2013 08:24:44
Message-Id: bee3e3a6a963a527e30fdb521f334437.squirrel@www.antarean.org
In Reply to: Re: [gentoo-user] systemd and initramfs by Alan McKinnon
1 On Thu, August 22, 2013 08:39, Alan McKinnon wrote:
2 > On 22/08/2013 08:20, J. Roeleveld wrote:
3 >> On Wed, August 21, 2013 22:02, Neil Bothwick wrote:
4 >>> On Wed, 21 Aug 2013 11:50:57 -0400, Tanstaafl wrote:
5 >>>
6 >
7 > [snip]
8 >
9 >>> No one has demonstrated that it can. An initramfs isn't magic, it
10 >>> caries out a couple of trivial tasks before switching to the real root
11 >>> partition.
12 >>
13 >> The issue mentioned was an example. It was also:
14 >> 1) The only one I can remember from the last 4 or 5 years
15 >> 2) Easily avoided with a "rebuild initramfs" notice during upgrade
16 >
17 > Take out that word "Easily", it doesn't belong there.
18 >
19 > What is the trigger condition that causes the message to be emitted?
20 >
21 > Will it be in each ebuild whose files might end up in an intramfs?
22 > Expect much bitching and refusing from the devs who will have to
23 > maintain that, so not gonna fly.
24 >
25 > Will it be at the tail end of all emerge actions? Ain't gonna fly either
26 > as that is completely not a portage function. The PM installs and
27 > updates packages, it does not check what you then do with the results.
28 > And portage doesn't really know if you a) have an initramfs, b) where it
29 > is, c) what you want in it (as opposed to what you have in it)
30 >
31 > Will it be a reminder after installing kernel sources? Changed sources
32 > are not the cause of the isolated problems being mentioned here. Changed
33 > userland is.
34 >
35 > Face it. If you want to use an initramf, IT IS THE USERS JOB to keep it
36 > working as he wants it to work. It's a somewhat similar problem to out
37 > of tree modules and keeping them installed and in sync - portage makes
38 > zero effort to help with that one too.
39
40 True, but with the scripts that are floating in this thread, a usable
41 solution can be build.
42 Only need to finalize that into a generic option and document it in the
43 wiki. Preferably as a "post-emerge" command.
44
45 --
46 Joost

Replies

Subject Author
Re: [gentoo-user] systemd and initramfs Neil Bothwick <neil@××××××××××.uk>