Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: default CONFIG_PROTECT behavior
Date: Sun, 17 Jun 2018 22:38:25
Message-Id: 3182550.q5bXoTNPen@peak
In Reply to: Re: [gentoo-user] Re: default CONFIG_PROTECT behavior by Mick
1 On Sunday, 17 June 2018 18:12:11 BST Mick wrote:
2 > On Sunday, 17 June 2018 18:08:48 BST Ian Zimmerman wrote:
3 > > On 2018-06-17 12:42, Andrew Udvare wrote:
4 > > > On 06/17/2018 12:17 PM, Ian Zimmerman wrote:
5 > > > > What happens to files within the scope of CONFIG_PROTECT if I don't
6 > > > > execute dispatch-conf or any similar thingy? I have found the
7 > > > > confusion the latter tool generates completely unsurmountable.
8 > > >
9 > > > I think the side-by-side merger is very easy for small changes. Most
10 > > > of the time I press z because I don't need the new changes.
11 > >
12 > > It's not the merge step itself (sdiff) that is confusing, it's what
13 > > dispatch-conf does afterward with the result. When you used it the
14 > > first time, did you understand what "zap new" means?
15 >
16 > From the fine manual:
17 >
18 > z Zap (delete) the new config file and continue.
19 >
20 >
21 > For files which have a lot of changes, some of which I wish to reject and
22 > some to accept, I tend to use m (for merging). Again from the fine manual:
23 >
24 > m Interactively merge the current and new config files.
25 >
26 > > And yes, I was driven to ask this after I got an update that wasn't
27 > > "small".
28 > >
29 > > > find /etc/ -iname '._cfg*'
30 > > >
31 > > > Or what dispatch-conf does:
32 > > >
33 > > > find /etc -iname '._cfg????_*' ! -name '.*~' ! -iname '.*.bak' -print
34 > >
35 > > Thanks for this information.
36
37 I don't have any of those problems. I still use etc-update, and if there are
38 complex updates I edit the original file myself, using the diff as a guide.
39
40 I never did get to grips with the more "modern" ways of doing it.
41
42 --
43 Regards,
44 Peter.

Replies

Subject Author
Re: [gentoo-user] Re: default CONFIG_PROTECT behavior Daniel Frey <djqfrey@×××××.com>