path: root/man
diff options
authorMichał Górny <>2010-04-22 17:43:59 +0000
committerZac Medico <>2010-04-29 16:51:48 -0700
commitef2024a33be93a256beef28c1423ba1fb706383d (patch)
treea1581fa88b7113338bbfd0ae4b545ec26a375f63 /man
parentBail out immediately if --exclude is given a bad atom. (diff)
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')
1 files changed, 21 insertions, 0 deletions
diff --git a/man/portage.5 b/man/portage.5
index fb354c22..6c78cbd5 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -59,6 +59,9 @@ package.use
+.BR /etc/portage/env/
+package-specific bashrc files
.BR /etc/portage/profile/
site-specific overrides of \fB/etc/make.profile/\fR
@@ -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.
.BR categories
A simple list of valid categories that may be used in /usr/portage,
@@ -616,6 +621,22 @@ masters = gentoo kde
+.BR /etc/portage/env/
+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: step 1 1
+.IP \n[step]. 3
+.IP \n+[step].
+.IP \n+[step].
+.IP \n+[step].
.BR /usr/portage/metadata/