Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] preventing keyboard layout files from being overritten during system upgrades
Date: Sun, 06 Dec 2015 18:49:28
Message-Id: CAGfcS_nzxL3EmXbsu5W9zDT1iabt8TK_=WA5z-=D4v4fCd9QoA@mail.gmail.com
In Reply to: Re: [gentoo-user] preventing keyboard layout files from being overritten during system upgrades by Stroller
1 On Sun, Dec 6, 2015 at 12:44 PM, Stroller
2 <stroller@××××××××××××××××××.uk> wrote:
3 >
4 >> On Fri, 4 December 2015, at 12:55 p.m., Rich Freeman <rich0@g.o> wrote:
5 >>>
6 >>> Surely it should go in somewhere like /usr/local/share/X11/xkb/symbols/ instead.
7 >>>
8 >>> Making the original /usr/share/X11/xkb/symbols/ directory read-only prevents updates and bug fixes being applied.
9 >>>
10 >>
11 >> Nobody suggested making the directory read-only. They suggested
12 >> adding it to CONFIG_PROTECT in make.conf, which treats the directory
13 >> the same as /etc with the need to merge changes.
14 >
15 > Ok, so you're saying that putting the CONFIG_PROTECT in make.conf, makes the directory read-only only for portage, right?
16 >
17 > If you want to be precise, it tells portage not to write there, I think.
18 >
19 > Whichever way you want to spell it, doesn't this prevent updates and bug fixes from being applied?
20
21 Nope. It just enabled configuration protection, as is the default for /etc.
22
23 So changes go into new files, and then you can merge them with
24 dispatch-conf or cfg-update or whatever your favorite tool for merging
25 config file changes is.
26
27 If somebody has a link to the docs for this please post it, as it
28 seems like this has disappeared from the handbook. This used to be
29 Gentoo 101...
30
31 --
32 Rich

Replies