summaryrefslogtreecommitdiffstats
path: root/man/portage.5
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-04-22 17:43:59 +0000
committerZac Medico <zmedico@gentoo.org>2010-04-29 16:51:48 -0700
commitef2024a33be93a256beef28c1423ba1fb706383d (patch)
treea1581fa88b7113338bbfd0ae4b545ec26a375f63 /man/portage.5
parent2cfb3e852ce4ce9e83690e8033f50d32f696f5bd (diff)
downloadportage-ef2024a33be93a256beef28c1423ba1fb706383d.tar.gz
portage-ef2024a33be93a256beef28c1423ba1fb706383d.tar.bz2
portage-ef2024a33be93a256beef28c1423ba1fb706383d.zip
Support per-package bashrc files.
Support loading per-package bashrc files from the /etc/portage/env directory. The invidual files should reside in a directory matching ${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF} (which are applied in that order).
Diffstat (limited to 'man/portage.5')
-rw-r--r--man/portage.521
1 files changed, 21 insertions, 0 deletions
diff --git a/man/portage.5 b/man/portage.5
index fb354c220..6c78cbd54 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -59,6 +59,9 @@ package.use
repos.conf
.fi
.TP
+.BR /etc/portage/env/
+package-specific bashrc files
+.TP
.BR /etc/portage/profile/
site-specific overrides of \fB/etc/make.profile/\fR
.TP
@@ -407,6 +410,8 @@ it were a single file.
If needed, this file can be used to set up a special environment for ebuilds,
different from the standard root environment. The syntax is the same as for
any other bash script.
+
+Additional package-specific bashrc files can be created in /etc/portage/env.
.TP
.BR categories
A simple list of valid categories that may be used in /usr/portage,
@@ -616,6 +621,22 @@ masters = gentoo kde
.fi
.RE
.TP
+.BR /etc/portage/env/
+.RS
+In this directory additional package-specific bashrc files can be created.
+Portage will source all of them after \fB/etc/portage/bashrc\fR in the following
+order:
+.nr step 1 1
+.IP \n[step]. 3
+/etc/portage/env/${CATEGORY}/${PN}
+.IP \n+[step].
+/etc/portage/env/${CATEGORY}/${PN}:${SLOT}
+.IP \n+[step].
+/etc/portage/env/${CATEGORY}/${P}
+.IP \n+[step].
+/etc/portage/env/${CATEGORY}/${PF}
+.RE
+.TP
.BR /usr/portage/metadata/
.RS
.TP