/[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.78 Revision 1.79
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.78 2005/05/17 16:42:30 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.79 2005/06/08 10:19:57 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.5</version> 11<version>2.6</version>
12<date>2005-05-17</date> 12<date>2005-06-08</date>
13 13
14<section> 14<section>
15<title>Chrooting</title> 15<title>Chrooting</title>
16<subsection> 16<subsection>
17<title>Optional: Selecting Mirrors</title> 17<title>Optional: Selecting Mirrors</title>
168the system to a certain range of package versions. This is all maintained by the 168the system to a certain range of package versions. This is all maintained by the
169Gentoo developers. 169Gentoo developers.
170</p> 170</p>
171 171
172<p> 172<p>
173Previously, such a profile was barely touched by the user. However, recently, 173Previously, such a profile was barely touched by the user. However, x86, hppa
174x86, hppa and alpha users can choose between two profiles, one for a 2.4 kernel 174and alpha users can choose between two profiles, one for a 2.4 kernel and one
175and one for a 2.6 kernel. This requirement has been imposed to improve the 175for a 2.6 kernel. This requirement has been imposed to improve the integration
176integration of the 2.6 kernels. 176of the 2.6 kernels.
177</p>
178
179<p> 177</p>
178
179<p>
180You can see what profile you are currently using by issuing the following 180You can see what profile you are currently using with the following command:
181command:
182</p> 181</p>
183 182
184<pre caption="Verifying system profile"> 183<pre caption="Verifying system profile">
185# <i>ls -l /etc/make.profile</i> 184# <i>ls -FGg /etc/make.profile</i>
186lrwxrwxrwx 1 root root 48 Mar 7 11:55 /etc/make.profile -> 185lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0/
187 ../usr/portage/profiles/default-linux/x86/2005.0
188</pre> 186</pre>
189 187
190<p> 188<p>
191If you are using one of the aforementioned three architectures, you will see an 189If you are using one of the aforementioned three architectures, you will see a
192additional profile in the one listed by the <path>make.profile</path> symlink: 190<path>2.4</path> subdirectory that identifies an additional profile below the
191one that the <path>make.profile</path> symlink points to:
193</p> 192</p>
194 193
195<pre caption="Finding out if an additional profile exists"> 194<pre caption="Finding out if an additional profile exists">
196# <i>ls -F /etc/make.profile/</i> 195# <i>ls -FGg /etc/make.profile/</i>
1972.4/ packages parent virtuals 196total 8
197drwxr-xr-x 2 120 Jan 21 23:08 2.4/
198-rw-r--r-- 1 679 Mar 29 00:35 packages
199-rw-r--r-- 1 343 Dec 3 2004 parent
198</pre> 200</pre>
199 201
200<p>
201As you can see, in the above example there is a 2.4 subdirectory. This means
202that the current profile uses the 2.6 kernel; if you want a 2.4-based system,
203you need to relink your <path>make.profile</path> symlink:
204</p> 202<p>
203As you can see in the above example, the current profile contains a
204<path>2.4</path> subdirectory. This means that the current profile uses the
2052.6 kernel and that you can change your profile to a 2.4-based system. For
206that, you need to link the <path>make.profile</path> symlink to the
207<path>2.4</path> subdirectory:
208</p>
205 209
206<pre caption="Relinking the profile"> 210<pre caption="Switching to a 2.4 profile">
211<comment>(Make sure you use the right architecture, the example below is for x86)</comment>
207# <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.4 /etc/make.profile</i> 212# <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.4 /etc/make.profile</i>
213<comment>(List the files in the 2.4 profile)</comment>
214# <i>ls -FGg /etc/make.profile/</i>
215total 12
216-rw-r--r-- 1 939 Dec 10 14:06 packages
217-rw-r--r-- 1 347 Dec 3 2004 parent
218-rw-r--r-- 1 573 Dec 3 2004 virtuals
208</pre> 219</pre>
209 220
210</body> 221</body>
211</subsection> 222</subsection>
212<subsection id="configure_USE"> 223<subsection id="configure_USE">

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79

  ViewVC Help
Powered by ViewVC 1.1.20