Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: upgrade's and rc-scripts
Date: Thu, 25 Aug 2005 15:35:46
Message-Id: 200508251359.17881.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Re: upgrade's and rc-scripts by Martin Schlemmer
1 On Sunday 24 July 2005 15:25, Martin Schlemmer wrote:
2 > On Fri, 2005-07-22 at 18:40 -0500, Brian D. Harring wrote:
3 > > On Sat, Jul 23, 2005 at 01:20:19AM +0200, Sven Köhler wrote:
4 > > > Apropos config-files: what about config-files that are provided by
5 > > > the old-version of an ebuild but have been moved or removed by the
6 > > > new version? etc-update doesn't know about them. So /etc/ will be
7 > > > full of useless config-files after some time.
8 > >
9 > > Vapier had suggested yanking (on unmerge, not replacement) any
10 > > config_protected file that has the same md5/mtime as what it was
11 > > originally merged with.
12 > >
13 > > This would cause issues for nvidia-kernel though I'd think, although
14 > > their solution isn't exactly optimal (no better solution atm either
15 > > though).
16 >
17 > Not sure I'm on speed with why that would be bad for nvidia-kernel?
18
19 If necessary a "touch /etc/myconfigfile" in pkg_postinst would force that
20 the config file stays there.
21
22 Paul
23
24 --
25 Paul de Vrieze
26 Gentoo Developer
27 Mail: pauldv@g.o
28 Homepage: http://www.devrieze.net