diff options
author | Michał Górny <gentoo@mgorny.alt.pl> | 2010-04-22 17:43:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-04-29 16:51:48 -0700 |
commit | ef2024a33be93a256beef28c1423ba1fb706383d (patch) | |
tree | a1581fa88b7113338bbfd0ae4b545ec26a375f63 /man | |
parent | Bail out immediately if --exclude is given a bad atom. (diff) | |
download | portage-idfetch-ef2024a33be93a256beef28c1423ba1fb706383d.tar.gz portage-idfetch-ef2024a33be93a256beef28c1423ba1fb706383d.tar.bz2 portage-idfetch-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')
-rw-r--r-- | man/portage.5 | 21 |
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 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 |