/[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.14 Revision 1.15
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.14 2007/02/26 08:58:04 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-diverttree.xml,v 1.15 2010/07/13 22:00:23 nightmorph 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>1.6</version> 17<version>1.7</version>
18<date>2007-02-26</date> 18<date>2010-07-13</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>
77<body> 77<body>
78 78
79<p> 79<p>
80For the powerusers who develop on several overlays, test packages before they 80For the powerusers who develop on several overlays, test packages before they
81hit the Portage tree or just want to use unofficial ebuilds from various 81hit the Portage tree or just want to use unofficial ebuilds from various
82sources, the <c>app-portage/gentoolkit-dev</c> package brings you 82sources, the <c>app-portage/layman</c> package brings you
83<c>gensync</c>, a tool to help you keep the overlay repositories up to date. 83<c>layman</c>, a tool to help you keep the overlay repositories up to date.
84</p> 84</p>
85 85
86<p> 86<p>
87With <c>gensync</c> you can update all the repositories at once, or select just 87First install and configure <c>layman</c> as shown in the <uri
88a few of them. Each repository should have a <path>.syncsource</path> file in 88link="/proj/en/overlays/userguide.xml">Overlays Users' Guide</uri>, and add your
89the <path>/etc/gensync/</path> configuration directory which contains the 89desired repositories with <c>layman -a &lt;overlay-name&gt;</c>.
90repository location, name, ID, etc.
91</p> 90</p>
92 91
93<p> 92<p>
94Suppose you have two additional repositories called <c>java</c> (for the 93Suppose you have two repositories called <c>java</c> (for the in-development
95in-development java ebuilds) and <c>entapps</c> (for the applications developed 94java ebuilds) and <c>entapps</c> (for the applications developed in-house for
96in-house for your enterprise). You can update those repositories with the 95your enterprise). You can update those repositories with the following
97following command: 96command:
98</p> 97</p>
99 98
100<pre caption="Using gensync to update a few repositories"> 99<pre caption="Using layman to update all repositories">
101# <i>gensync java entapps</i> 100# <i>layman -S</i>
102</pre> 101</pre>
102
103<p>
104For more information on working with overlays, please read <c>man layman</c> and
105the <uri link="/proj/en/overlays/userguide.xml">layman/overlay users'
106guide</uri>.
107</p>
103 108
104</body> 109</body>
105</subsection> 110</subsection>
106</section> 111</section>
107<section> 112<section>

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20