FEATURES
From Gentoo Wiki
The FEATURES variable contains a list of Portage features that the user wants enabled on the system, effectively influencing Portage's behavior. It is set by default via /usr/share/portage/config/make.globals, but can be easily updated through /etc/portage/make.conf. Since this is an incremental variable, FEATURES values can be added without directly overriding the ones implemented through the Gentoo profile.
FEATURES="keepwork"
portageq 可用于显示激活的 feature:
user $
portageq envvar FEATURES | xargs -n 1
The descriptions of the FEATURES are available in the man page for make.conf:
user $
man make.conf
Usage
FEATURES is often prepended to the emerge command for e.g. keeping the build log or triggering tests:
root #
FEATURES="keeptemp test" emerge -1a foobar
另请参阅
外部资源
- FEATURES in the Gentoo developer manual