-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 18/07/12 04:05 PM, Alec Warner wrote: > [...] However lets say I have coreutils in / and coreutils in my > initramfs. I upgrade coreutils from v1 to v2. Are you saying that > you are too afraid to update coreutils in / and then also update it > in the initramfs (probably by running $TOOL to copy coreutils from > / to initramfs-root.) > > I'm not suggesting that we necessarily do this automatically, just > that people claim 'the tools do not exist to do this now' when in > fact it seems fairly straightforward to do. > > I mean presumably you used $TOOL to build the initramfs once, so > running $TOOL again to generate a new initramfs probably should > not screw you, provided you have control over the configuration of > $TOOL.
IIRC, and unless this has changed recently (ie within the last year or two), a genkernel-generated initramfs is built on specific versions of all the tools that genkernel itself ensures is downloaded, ie, *NOT* the same versions as are installed in your / , and often are actually older. You can, of course, change this via /etc/genkernel.conf for each tool. ..so in that particular case, one would want their initramfs regenerated when genkernel gets upgraded (but after /etc/genkernel.conf is etc-update'd) If I remember my hearsay correctly, dracut does build the initramfs from tools on / , though...? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlAHGFAACgkQ2ugaI38ACPCjlAD/Qin9JKK6SFAr/5G2vjgqJmau BATFNwP/nbgtIb5i0rgA/jlEmZFBK9n14GOYzQxi3BJewGhRvi62WAHsX7EMQzDL =HLZG -----END PGP SIGNATURE-----
