Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] write to filesystem in pkg_pretend
Date: Sat, 18 Jun 2011 11:19:19
Message-Id: 4DFC8975.2010508@gentoo.org
In Reply to: Re: [gentoo-dev] write to filesystem in pkg_pretend by Mike Frysinger
1 On 17.06.2011 20:18, Mike Frysinger wrote:
2 > On Friday, June 17, 2011 12:25:21 Torsten Veller wrote:
3 >> * justin <jlec@g.o>:
4 >>> Now using the new pkg_pretend for EAPI=4
5 >>
6 >> While T is defined in all phases, PMS also says that "pkg_pretend must
7 >> not write to the filesystem".
8 >>
9 >> Is it allowed to write to T or not? Can the specs be clearer if it's
10 >> allowed?
11 >
12 > sounds like a good reason to use emktemp as that'll utilize /tmp for files
13 > when $T is unavailable
14 >
15
16 That approach would still write to the filesystem. With the current text
17 the PM is probably allowed to set the sandbox so that writing is
18 anywhere is denied.
19
20 Regards,
21 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] write to filesystem in pkg_pretend justin <jlec@g.o>