Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Opinion against /usr merge
Date: Wed, 18 Jul 2012 20:13:31
Message-Id: 50071850.60608@gentoo.org
In Reply to: Re: [gentoo-dev] Opinion against /usr merge by Alec Warner
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 18/07/12 04:05 PM, Alec Warner wrote:
5 > [...] However lets say I have coreutils in / and coreutils in my
6 > initramfs. I upgrade coreutils from v1 to v2. Are you saying that
7 > you are too afraid to update coreutils in / and then also update it
8 > in the initramfs (probably by running $TOOL to copy coreutils from
9 > / to initramfs-root.)
10 >
11 > I'm not suggesting that we necessarily do this automatically, just
12 > that people claim 'the tools do not exist to do this now' when in
13 > fact it seems fairly straightforward to do.
14 >
15 > I mean presumably you used $TOOL to build the initramfs once, so
16 > running $TOOL again to generate a new initramfs probably should
17 > not screw you, provided you have control over the configuration of
18 > $TOOL.
19
20
21 IIRC, and unless this has changed recently (ie within the last year or
22 two), a genkernel-generated initramfs is built on specific versions of
23 all the tools that genkernel itself ensures is downloaded, ie, *NOT*
24 the same versions as are installed in your / , and often are actually
25 older.
26
27 You can, of course, change this via /etc/genkernel.conf for each tool.
28
29 ..so in that particular case, one would want their initramfs
30 regenerated when genkernel gets upgraded (but after
31 /etc/genkernel.conf is etc-update'd)
32
33
34 If I remember my hearsay correctly, dracut does build the initramfs
35 from tools on / , though...?
36
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v2.0.19 (GNU/Linux)
39
40 iF4EAREIAAYFAlAHGFAACgkQ2ugaI38ACPCjlAD/Qin9JKK6SFAr/5G2vjgqJmau
41 BATFNwP/nbgtIb5i0rgA/jlEmZFBK9n14GOYzQxi3BJewGhRvi62WAHsX7EMQzDL
42 =HLZG
43 -----END PGP SIGNATURE-----