/[gentoo]/xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml

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

Revision 1.16 Revision 1.17
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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-portage-diverttree.xml,v 1.16 2012/07/24 12:12:52 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml,v 1.17 2012/11/12 21:12:23 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12"Diverting from the Official Tree" gives you some tips and tricks on how to use 12"Diverting from the Official Tree" gives you some tips and tricks on how to use
13your own Portage tree, how to synchronise only the categories you want, inject 13your own Portage tree, how to synchronise only the categories you want, inject
14packages and more. 14packages and more.
15</abstract> 15</abstract>
16 16
17<version>2</version> 17<version>3</version>
18<date>2012-07-24</date> 18<date>2012-11-12</date>
19 19
20<section> 20<section>
21<title>Using a Portage Tree Subset</title> 21<title>Using a Portage Tree Subset</title>
22<subsection> 22<subsection>
23<title>Excluding Packages/Categories</title> 23<title>Excluding Packages/Categories</title>
24<body> 24<body>
25 25
26<p> 26<p>
27You can selectively update certain categories/packages and ignore the other 27You can selectively update certain categories/packages and ignore the other
28categories/packages. We achieve this by having <c>rsync</c> exclude 28categories/packages. We achieve this by having <c>rsync</c> exclude
29categories/packages during the <c>emerge --sync</c> step. 29categories/packages during the <c>emerge --sync</c> step.
30</p> 30</p>
31 31
32<p> 32<p>
33You need to define the name of the file that contains the exclude patterns in 33You need to define the name of the file that contains the exclude patterns in
34the <c>--exclude-from</c> variable in your <path>/etc/portage/make.conf</path>. 34the <c>PORTAGE_RSYNC_EXTRA_OPTS</c> variable in your <path>/etc/portage/make.conf</path>.
35</p> 35</p>
36 36
37<pre caption="Defining the exclude file in /etc/portage/make.conf"> 37<pre caption="Defining the exclude file in /etc/portage/make.conf">
38PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 38PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
39</pre> 39</pre>
40 40
41<pre caption="Excluding all games in /etc/portage/rsync_excludes"> 41<pre caption="Excluding all games in /etc/portage/rsync_excludes">
42games-*/* 42games-*/*
43</pre> 43</pre>
44 44
45<p> 45<p>
46Note however that this may lead to dependency issues since new, allowed packages 46Note however that this may lead to dependency issues since new, allowed packages
47might depend on new but excluded packages. 47might depend on new but excluded packages.
48</p> 48</p>
49 49

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20