summaryrefslogtreecommitdiffstats
path: root/man/portage.5
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-22 10:41:50 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-22 10:41:50 -0700
commit25262e2997ff92ec2ffdc17c2261c38fb04b6328 (patch)
tree02d455ca319cf8be40aadf19e587bd624a079220 /man/portage.5
parent81a938bf81cb2069b8f23b309e2d4ea8242d814a (diff)
downloadportage-25262e2997ff92ec2ffdc17c2261c38fb04b6328.tar.gz
portage-25262e2997ff92ec2ffdc17c2261c38fb04b6328.tar.bz2
portage-25262e2997ff92ec2ffdc17c2261c38fb04b6328.zip
Support aliases in metadata/layout.conf.
This was requested by Daniel Robbins <drobbins@funtoo.org> so that the funtoo repository can set 'aliases = gentoo' in layout.conf, relieving funtoo users from the need to do a manual alias configuration in /etc/portage/repos.conf.
Diffstat (limited to 'man/portage.5')
-rw-r--r--man/portage.57
1 files changed, 5 insertions, 2 deletions
diff --git a/man/portage.5 b/man/portage.5
index 80e42de75..7fe21283c 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -679,14 +679,15 @@ order:
.RS
.TP
.BR layout.conf
-Specifies information about the repository layout. Currently, only a single
+Specifies information about the repository layout. A
"masters" attribute is supported, which is used to specify names of
repositories which satisfy dependencies on eclasses and/or ebuilds. Each
repository name should correspond the value of a \fBrepo_name\fR entry
from one of the repositories that is configured via the \fBPORTDIR\fR or
\fBPORTDIR_OVERLAY\fR variables (see \fBmake.conf\fR(5)). Repositories listed
toward the right of the \fBmasters\fR list take precedence over those listed
-toward the left of the list. \fISite-specific\fR
+toward the left of the list. An "aliases" attribute is also supported, which
+behaves like an "aliases" attribute in \fBrepos.conf\fR. \fISite-specific\fR
overrides to \fBlayout.conf\fR settings may be specified in
\fB/etc/portage/repos.conf\fR. Settings in \fBrepos.conf\fR take
precedence over settings in \fBlayout.conf\fR, except tools such as
@@ -699,6 +700,8 @@ precedence over settings in \fBlayout.conf\fR, except tools such as
# eclasses provided by java-overlay take precedence over identically named
# eclasses that are provided by gentoo
masters = gentoo java-overlay
+# indicate that this repo can be used as a substitute for foo-overlay
+aliases = foo-overlay
.fi
.RE
.TP