Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: [gentoo-pms] [PATCH] Ebuilds may trust the initial working directory.
Date: Fri, 12 Dec 2008 16:07:30
Message-Id: 1229098041-9519-1-git-send-email-ciaran.mccreesh@googlemail.com
1 See Council meeting on 20081211.
2 ---
3 ebuild-functions.tex | 4 +++-
4 1 files changed, 3 insertions(+), 1 deletions(-)
5
6 diff --git a/ebuild-functions.tex b/ebuild-functions.tex
7 index 98e3fd4..2c094b0 100644
8 --- a/ebuild-functions.tex
9 +++ b/ebuild-functions.tex
10 @@ -15,7 +15,9 @@ users.
11
12 Some functions may assume that their initial working directory is set to a particular location;
13 these are noted below. If no initial working directory is mandated, it may be set to anything and
14 -the ebuild must not rely upon a particular location for it.
15 +the ebuild must not rely upon a particular location for it. The ebuild \e{may} assume that the
16 +initial working directory for any phase is a trusted location that may only be written to by a
17 +privileged user and group.
18
19 The environment for functions run outside of the build sequence (that is, \t{pkg\_config},
20 \t{pkg\_info}, \t{pkg\_prerm} and \t{pkg\_postrm}) must be the environment used for the build of the
21 --
22 1.6.0.4

Replies

Subject Author
[gentoo-pms] [PATCH] Add DEFINED_PHASES. Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>