| … | |
… | |
| 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.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml,v 1.7 2005/10/11 03:49:46 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml,v 1.8 2005/11/25 14:52:02 neysx Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.3</version> |
11 | <version>1.4</version> |
| 12 | <date>2005-10-11</date> |
12 | <date>2005-11-25</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Using a Portage Tree Subset</title> |
15 | <title>Using a Portage Tree Subset</title> |
| 16 | <subsection> |
16 | <subsection> |
| 17 | <title>Excluding Packages/Categories</title> |
17 | <title>Excluding Packages/Categories</title> |
| … | |
… | |
| 22 | categories/packages. We achieve this by having <c>rsync</c> exclude |
22 | categories/packages. We achieve this by having <c>rsync</c> exclude |
| 23 | categories/packages during the <c>emerge --sync</c> step. |
23 | categories/packages during the <c>emerge --sync</c> step. |
| 24 | </p> |
24 | </p> |
| 25 | |
25 | |
| 26 | <p> |
26 | <p> |
| 27 | By default, <c>rsync</c> will check the contents of |
27 | You need to define the name of the file that contains the exclude patterns in |
| 28 | <path>/etc/portage/rsync_excludes</path> (if it exists) which contains the |
28 | the <c>RSYNC_EXCLUDEFROM</c> variable in your <path>/etc/make.conf</path>. |
| 29 | categories or packages that you <e>don't</e> want <c>rsync</c> to update. |
|
|
| 30 | </p> |
29 | </p> |
|
|
30 | |
|
|
31 | <pre caption="Defining the exlude file in /etc/make.conf"> |
|
|
32 | RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes |
|
|
33 | </pre> |
|
|
34 | |
|
|
35 | <pre caption="Excluding all games in /etc/portage/rsync_excludes"> |
|
|
36 | games-*/* |
|
|
37 | </pre> |
| 31 | |
38 | |
| 32 | <p> |
39 | <p> |
| 33 | Note however that this may lead to dependency issues since new, allowed packages |
40 | Note however that this may lead to dependency issues since new, allowed packages |
| 34 | might depend on new but excluded packages. |
41 | might depend on new but excluded packages. |
| 35 | </p> |
42 | </p> |