FEATURES
La variabile FEATURES contiene un elenco di funzionalità di Portage che l'utente vuole abilitate sul sistema, influenzando efficacemente il comportamento di Portage. È impostato di default tramite il profile di Gentoo, ma può essere facilmente aggiornato tramite /etc/portage/make.conf . Poiché questa è una variabile incrementale, i valori FEATURES possono essere aggiunti senza sovrascrivere direttamente quelli implementati tramite il profilo Gentoo.
/etc/portage/make.conf
Aggiunta di keepwork a FEATURES in Portage
FEATURES="keepwork"
portageq può essere utilizzato per mostrare le funzionalità attive:
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
Vedere anche
Handbook:AMD64/Working/Features/it
Risorse esterne
- FEATURES nel Gentoo developer manual