CONFIG_PROTECT
From Gentoo Wiki
Outdated translations are marked like this.
Warning: Display title "CONFIG_PROTECT" overrides earlier display title "CONFIG PROTECT".
CONFIG_PROTECT 变量包含用空格分隔的目录列表,Portage不会盲目的拷贝新版本的文件到这些目录中,而是将这些目录中的文件当做配置文件,由用户手动检查更新是否需要和正确。可以通过 CONFIG_PROTECT_MASK 变量排除列出目录的子目录。
Sub-directories of the listed directories can be excluded through the CONFIG_PROTECT_MASK variable.
该变量有一个合理的默认设置,该设置由 Portage 安装处理,并包含用户的 Gentoo profile。它可以通过系统环境(通过/etc/env.d文件更新的变量,通常用于应用程序)以及用户/etc/portage/make.conf 中设定中的条目来扩展。
文件
/etc/portage/make.conf
CONFIG_PROTECT 定义示例CONFIG_PROTECT="/var/bind"
另请参考 Gentoo 手册中的 环境变量 章节。
See also
- savedconfig — a USE flag that preserves the saved configuration files upon package updates.