On Tuesday, September 01, 2015 11:29:42 PM Neil Bothwick wrote: > On Tue, 1 Sep 2015 15:26:10 -0400, Fernando Rodriguez wrote: > > > Also one exception to the directory naming convention is the keywords > > file. The file was package.accept_keywords but the directory is > > package.keywords. > > The name was changed from package.keywords to package.accept_keywords to > match the variable name in make.conf. Either can be a directory, there's > even an example in the portage man page of a directory with the new name.
I guess crossdev hasn't caught up to that change (at least the stable one). It only uses the package.keywords directory. > > I always tought autounmask would write > > to the original package.* filename (since cross-* comes before > > package.*) until I saw Alan's reply. > > Portage treats all the files in the directory as a single file, in > lexical order. If it's a file, portage adds auto-unmask entries to the > end ot make sure they are not counteracted by something else in the file. > If you use a directory, portage adds the changes to the end of the last > file for the same reason. As with many things, I though portage was doing > the wrong thing by adding to the "wrong" file, until I realised just > what it was doing and why. See the section on -autounmask-write > in man emerge. -- Fernando Rodriguez