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 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.


-- 
Neil Bothwick

Suicidal twin kills sister by mistake!

Attachment: pgpjsxV74UIz9.pgp
Description: OpenPGP digital signature

Reply via email to