/etc/portage/profile/use.mask

From Gentoo Wiki
< /etc‎ | portage
Jump to:navigation Jump to:search

Masking

This file can be used for system wide masking of USE flags. As an example, if doc support is unwanted generally it can be masked by adding it here like:

FILE /etc/portage/profile/use.maskuse.mask example
# Mask doc
doc

Unmasking

Also this file can be used for unmasking of USE flags which were masked by the developers in the Gentoo repository. Those masks can be found either in: /var/db/repos/gentoo/profiles/arch/base/use.mask or in arch-specific file: /var/db/repos/gentoo/profiles/arch/<Arch name>/use.mask

For unmasking such masked USE flag needs to be added here with a leading minus sign (-).

FILE /etc/portage/profile/use.maskuse.mask example
# Unmask mysql
-mysql

Format

  • Comments begin with # (no inline comments).
  • One USE flag value per line.

External resources