On Fri, Dec 4, 2015 at 7:38 AM, Stroller <strol...@stellar.eclipse.co.uk> wrote: > >> On Fri, 4 December 2015, at 12:10 p.m., Peter Humphrey >> <pe...@prh.myzen.co.uk> wrote: >> >> On Friday 04 December 2015 13:55:30 gevisz wrote: >> >>> So, my main question is How can I ensure that the already >>> edited /usr/share/X11/xkb/symbols/ru file will not be overwritten >>> during the next system update. >> >> Add it to CONFIG_PROTECT in make.conf. > > Surely it should go in somewhere like /usr/local/share/X11/xkb/symbols/ > instead. > > Making the original /usr/share/X11/xkb/symbols/ directory read-only prevents > updates and bug fixes being applied. >
Nobody suggested making the directory read-only. They suggested adding it to CONFIG_PROTECT in make.conf, which treats the directory the same as /etc with the need to merge changes. That is probably the simplest solution here, as others would require ebuild changes, patching, or getting upstream to allow the file to be overridden in /etc (assuming this is not already possible). -- Rich