|
发表于 2012-1-29 14:17:32
|
显示全部楼层
Post by RichardGv;2145184
一个profile中的设置包含:
- deprecated
- eapi
- make.defaults (类似make.conf,而优先级更低)
- packages
- packages.build
- package.accept_keywords
- package.keywords (类似/etc/portage/package.keywords,而优先级更低)
- package.mask (类似/etc/portage/package.mask,而优先级更低)
- package.provided (类似/etc/portage/profile/package.provided,而优先级更低)
- package.unmask (类似/etc/portage/package.unmask,而优先级更低)
- package.use (类似/etc/portage/package.use,而优先级更低)
- package.use.force
- package.use.mask
- parent
- profile.bashrc
- use.force
- use.mask
- virtuals
复制代码
(关于profile的组成可以参见man portage 中的SPECIFIC FILE DESCRIPTIONS部分。)
profile中的make.defaults一般会设置一系列的默认USE flags。GNOME的profile包括了一般GNOME系统所需的USE flags。
Portage运行时的环境变量的优先级如下:
- The priority order of the various configuration files is as follows (highest first):
- 1. Environment variables
- 2. /etc/make.conf, for your use
- 3. /etc/make.profile/make.defaults, for profile-specific defaults
- 4. /etc/make.globals, for global defaults (settings not specified in any
- other place come from here)
复制代码
很好!学习了 |
|