Gentoo Archives: gentoo-user

From: marco@×××××××.it
To: Neil Bothwick <neil@××××××××××.uk>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emerge config files update question
Date: Thu, 16 Jun 2016 15:50:34
Message-Id: 20160616175019.10ce16c9@lobo.lobo.dom
In Reply to: Re: [gentoo-user] Emerge config files update question by Neil Bothwick
1 Ok ,
2 /var/lib/portage/config keeps the hashes of the original modified files.
3
4 Thanks
5 Marco
6
7
8
9 On Wed, 15 Jun 2016 17:14:01 +0100
10 Neil Bothwick <neil@××××××××××.uk> wrote:
11
12 > On Wed, 15 Jun 2016 18:07:21 +0200, marco@×××××××.it wrote:
13 >
14 > > then i change parameters in /etc/dhcp/dhcpd.conf
15 > > and /etc/conf.d/dhcpd
16 > >
17 > > then i upgrade the net-misc/dhcp (net-misc/dhcp ~amd64)
18 > >
19 > > emerge -v1 net-misc/dhcp
20 > > [ebuild U ~] net-misc/dhcp-4.3.4::gentoo [4.3.3_p1::gentoo]
21 > >
22 > > but when the update finished i don't have any etc-update to do .
23 > >
24 > > Why emerge do not create new ._cfg0000_dhcpd.conf
25 > > and ._cfg0000_dhcpd ?
26 >
27 > Because portage has a degree of intelligence. If the upstream config
28 > file has not changed, there is no need to run etc-update.
29 >
30 >