| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.3 2004/06/01 07:36:12 neysx Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.4 2004/07/01 00:48:49 neysx Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/gentoo-upgrading.xml"> |
5 | <guide link="/doc/en/gentoo-upgrading.xml"> |
| 6 | <title>Gentoo Upgrading Guide</title> |
6 | <title>Gentoo Upgrading Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 15 | |
15 | |
| 16 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
16 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 17 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
17 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 18 | <license/> |
18 | <license/> |
| 19 | |
19 | |
| 20 | <version>1.1</version> |
20 | <version>1.2</version> |
| 21 | <date>May 12, 2004</date> |
21 | <date>July 1, 2004</date> |
| 22 | |
22 | |
| 23 | <chapter> |
23 | <chapter> |
| 24 | <title>Gentoo and Upgrades</title> |
24 | <title>Gentoo and Upgrades</title> |
| 25 | <section> |
25 | <section> |
| 26 | <title>Philosophy</title> |
26 | <title>Philosophy</title> |
| … | |
… | |
| 97 | mapping for virtual packages. |
97 | mapping for virtual packages. |
| 98 | </p> |
98 | </p> |
| 99 | |
99 | |
| 100 | <p> |
100 | <p> |
| 101 | The profile in use is determined by the symbolic link |
101 | The profile in use is determined by the symbolic link |
| 102 | <path>/etc/make.profile</path>, which points to the subdirectory of |
102 | <path>/etc/make.profile</path>, which points to the subdirectory of |
| 103 | <path>/usr/portage/profiles</path> which holds the profile files, for instance <path>/usr/portage/profiles/default-x86-2004.0</path>. |
103 | <path>/usr/portage/profiles</path> which holds the profile files, for instance |
|
|
104 | <path>/usr/portage/profiles/default-x86-2004.0</path> (old-style location) or |
|
|
105 | <path>/usr/portage/profiles/default-linux/x86/2004.0</path> (new-style |
|
|
106 | location). With respect to new-style profile directories, note that also the |
|
|
107 | files in parent directories are part of the profile (and are therefore shared |
|
|
108 | by different profiles). |
| 104 | </p> |
109 | </p> |
| 105 | |
110 | |
| 106 | <p> |
111 | <p> |
| 107 | Profiles obsoleted by new ones are kept in <path>/usr/portage/profiles</path> |
112 | Profiles obsoleted by new ones are kept in <path>/usr/portage/profiles</path> |
| 108 | as the current ones, but they are marked as deprecated. When that happens a |
113 | as the current ones, but they are marked as deprecated. When that happens a |
| … | |
… | |
| 249 | the <path>/etc/make.profile</path> link to the new location: |
254 | the <path>/etc/make.profile</path> link to the new location: |
| 250 | </p> |
255 | </p> |
| 251 | |
256 | |
| 252 | <pre caption="Updating the /etc/make.profile link"> |
257 | <pre caption="Updating the /etc/make.profile link"> |
| 253 | # <i>rm /etc/make.profile</i> |
258 | # <i>rm /etc/make.profile</i> |
| 254 | # <i>ln -s ../usr/portage/profiles/default-x86-2004.0 /etc/make.profile</i> |
259 | # <i>ln -s ../usr/portage/profiles/default-linux/x86/2004.0 /etc/make.profile</i> |
| 255 | </pre> |
260 | </pre> |
| 256 | |
261 | |
| 257 | </body> |
262 | </body> |
| 258 | </section> |
263 | </section> |
| 259 | <section> |
264 | <section> |