This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Knowledge Base:Autounmask-write
From Gentoo Wiki (test)
The emerge option --autounmask-write
writes autounmask
features into the corresponding config files.
If the corresponding package.* is a directory, changes are written to the lexicographically last file in this directory. In order to prevent your manually managed files from being edited, you can create files just for the purpose of autounmask-write:
root #
for d in /etc/portage/package.*; do touch $d/zzz_autounmask; done