Line
Link Here
|
0 |
-- hb-install-system.xml 2008-08-07 00:56:26.000000000 -0600 |
0 |
++ hb-install-system.xml 2008-08-07 02:57:52.000000000 -0600 |
Lines 4-10
Link Here
|
4 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
4 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
5 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
6 |
|
6 |
|
7 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.111 2008/05/15 06:56:48 nightmorph Exp $ --> |
7 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.112 2008/08/07 02:57:52 nightmorph Exp $ --> |
8 |
|
8 |
|
9 |
<sections> |
9 |
<sections> |
10 |
|
10 |
|
Lines 226-231
Link Here
|
226 |
</p> |
226 |
</p> |
227 |
|
227 |
|
228 |
<p> |
228 |
<p> |
|
|
229 |
Gentoo uses cascading profiles. Each file that defines base defaults for your |
230 |
system, like <c>make.defaults</c>, <c>packages</c>, etc. can inherit the |
231 |
contents of like files from parent directories. Files named <c>parent</c> |
232 |
within the selected profile hierarchy specify which directories contain files |
233 |
to use to assemble the final profile. Values specified in files from profile |
234 |
sub-directories take precedence over values specified at a higher level. |
235 |
</p> |
236 |
|
237 |
<warn> |
238 |
Do <e>not</e> edit the profile files directly. Gentoo provides other ways to |
239 |
customize and extend these settings. |
240 |
</warn> |
241 |
|
242 |
<p> |
243 |
</p> |
244 |
|
245 |
<pre caption="Exploring profile details (optional)"> |
246 |
# <i>pwd</i> |
247 |
../usr/portage/profiles/<keyval id="profile"/> |
248 |
# <i>cat parent</i> |
249 |
.. |
250 |
../../../../releases/2008.0 |
251 |
<comment>(Flat files from both of these directories will be combined, along |
252 |
with parents of parents and so on)</comment> |
253 |
# <i>ls ..</i> |
254 |
<comment>(Omitted to simplify example)</comment> |
255 |
# <i>ls ../../../../releases/2008.0</i> |
256 |
make.defaults packages parent |
257 |
</pre> |
258 |
|
259 |
<p> |
229 |
After viewing the available profiles for your architecture in |
260 |
After viewing the available profiles for your architecture in |
230 |
<path>/usr/portage/profiles/</path>, you can use a different one if you wish: |
261 |
<path>/usr/portage/profiles/</path>, you can use a different one if you wish: |
231 |
</p> |
262 |
</p> |