/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.124 Revision 1.125
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
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.124 2012/06/29 16:12:20 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.125 2012/07/24 12:12:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12After installing and configuring a stage3, the eventual result is that you 12After installing and configuring a stage3, the eventual result is that you
13have a Gentoo base system at your disposal. This chapter describes how 13have a Gentoo base system at your disposal. This chapter describes how
14to progress to that state. 14to progress to that state.
15</abstract> 15</abstract>
16 16
17<version>16</version> 17<version>17</version>
18<date>2012-06-29</date> 18<date>2012-07-24</date>
19 19
20<section> 20<section>
21<title>Chrooting</title> 21<title>Chrooting</title>
22<subsection> 22<subsection>
23<title>Optional: Selecting Mirrors</title> 23<title>Optional: Selecting Mirrors</title>
34navigate to the mirrors of choice and press spacebar to select one or more 34navigate to the mirrors of choice and press spacebar to select one or more
35mirrors. 35mirrors.
36</p> 36</p>
37 37
38<pre caption="Using mirrorselect for the GENTOO_MIRRORS variable"> 38<pre caption="Using mirrorselect for the GENTOO_MIRRORS variable">
39# <i>mirrorselect -i -o &gt;&gt; /mnt/gentoo/etc/make.conf</i> 39# <i>mirrorselect -i -o &gt;&gt; /mnt/gentoo/etc/portage/make.conf</i>
40</pre> 40</pre>
41 41
42<p> 42<p>
43A second important setting is the SYNC setting in <path>make.conf</path>. This 43A second important setting is the SYNC setting in <path>make.conf</path>. This
44variable contains the rsync server you want to use when updating your Portage 44variable contains the rsync server you want to use when updating your Portage
46needs to download and install software). Although you can manually enter a SYNC 46needs to download and install software). Although you can manually enter a SYNC
47server for yourself, <c>mirrorselect</c> can ease that operation for you: 47server for yourself, <c>mirrorselect</c> can ease that operation for you:
48</p> 48</p>
49 49
50<pre caption="Selecting an rsync mirror using mirrorselect"> 50<pre caption="Selecting an rsync mirror using mirrorselect">
51# <i>mirrorselect -i -r -o &gt;&gt; /mnt/gentoo/etc/make.conf</i> 51# <i>mirrorselect -i -r -o &gt;&gt; /mnt/gentoo/etc/portage/make.conf</i>
52</pre> 52</pre>
53 53
54<p> 54<p>
55After running <c>mirrorselect</c> it is adviseable to double-check the settings 55After running <c>mirrorselect</c> it is adviseable to double-check the settings
56in <path>/mnt/gentoo/etc/make.conf</path> ! 56in <path>/mnt/gentoo/etc/portage/make.conf</path> !
57</p> 57</p>
58 58
59<note> 59<note>
60If you want to manually set a SYNC server in <path>make.conf</path>, you should 60If you want to manually set a SYNC server in <path>make.conf</path>, you should
61check out the <uri link="/main/en/mirrors-rsync.xml">community mirrors 61check out the <uri link="/main/en/mirrors-rsync.xml">community mirrors
311</p> 311</p>
312 312
313<p> 313<p>
314The default <c>USE</c> settings are placed in the <path>make.defaults</path> 314The default <c>USE</c> settings are placed in the <path>make.defaults</path>
315files of your profile. You will find <path>make.defaults</path> files in the 315files of your profile. You will find <path>make.defaults</path> files in the
316directory which <path>/etc/make.profile</path> points to and all parent 316directory which <path>/etc/portage/make.profile</path> points to and all parent
317directories as well. The default <c>USE</c> setting is the sum of all <c>USE</c> 317directories as well. The default <c>USE</c> setting is the sum of all <c>USE</c>
318settings in all <path>make.defaults</path> files. What you place in 318settings in all <path>make.defaults</path> files. What you place in
319<path>/etc/make.conf</path> is calculated against these defaults settings. If 319<path>/etc/portage/make.conf</path> is calculated against these defaults
320you add something to the <c>USE</c> setting, it is added to the default list. If 320settings. If you add something to the <c>USE</c> setting, it is added to the
321you remove something from the <c>USE</c> setting (by placing a minus sign in 321default list. If you remove something from the <c>USE</c> setting (by placing
322front of it) it is removed from the default list (if it was in the default list 322a minus sign in front of it) it is removed from the default list (if it was
323at all). <e>Never</e> alter anything inside the <path>/etc/make.profile</path> 323in the default list at all). <e>Never</e> alter anything inside the
324directory; it gets overwritten when you update Portage! 324<path>/etc/portage/make.profile</path> directory; it gets overwritten when
325you update Portage!
325</p> 326</p>
326 327
327<p> 328<p>
328A full description on <c>USE</c> can be found in the second part of the Gentoo 329A full description on <c>USE</c> can be found in the second part of the Gentoo
329Handbook, <uri link="?part=2&amp;chap=2">USE flags</uri>. A full description on 330Handbook, <uri link="?part=2&amp;chap=2">USE flags</uri>. A full description on
339<p> 340<p>
340As an example we show a <c>USE</c> setting for a KDE-based system with DVD, ALSA 341As an example we show a <c>USE</c> setting for a KDE-based system with DVD, ALSA
341and CD Recording support: 342and CD Recording support:
342</p> 343</p>
343 344
344<pre caption="Opening /etc/make.conf"> 345<pre caption="Opening /etc/portage/make.conf">
345# <i>nano -w /etc/make.conf</i> 346# <i>nano -w /etc/portage/make.conf</i>
346</pre> 347</pre>
347 348
348<pre caption="USE setting"> 349<pre caption="USE setting">
349USE="-gtk -gnome qt4 kde dvd alsa cdr" 350USE="-gtk -gnome qt4 kde dvd alsa cdr"
350</pre> 351</pre>

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20