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

CONFIG_PROTECT

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This page is a translated version of the page CONFIG PROTECT and the translation is 100% complete.

Warning: Display title "CONFIG_PROTECT" overrides earlier display title "CONFIG PROTECT".

CONFIG_PROTECT 変数には、Portage が暗黙的に新しいバージョンのファイルを上書きしないディレクトリを、スペース区切りのリストが入っています。しかし、ユーザーが手動で変更が必要かどうかチェックするべき設定ファイルまでも処理してしまいます。適用外にしたいサブディレクトリは、CONFIG_PROTECT_MASK 変数を通して実行することができます。

変数には Portage のインストールとユーザーの Gentoo プロファイルによって制御されるデフォルトの設定があります。 これはシステム環境 (/etc/env.d ファイルから変数の更新するアプリケーションでよく使用されます) と、ユーザーの /etc/portage/make.conf 設定で拡張されます。

FILE /etc/portage/make.confExample CONFIG_PROTECT definitions
CONFIG_PROTECT="/var/bind"

詳しくは Gentoo ハンドブックの環境変数をご覧ください。