Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] write to filesystem in pkg_pretend
Date: Fri, 17 Jun 2011 17:19:06
Message-Id: 201106171318.35866.vapier@gentoo.org
In Reply to: [gentoo-dev] write to filesystem in pkg_pretend by Torsten Veller
1 On Friday, June 17, 2011 12:25:21 Torsten Veller wrote:
2 > * justin <jlec@g.o>:
3 > > Now using the new pkg_pretend for EAPI=4
4 >
5 > While T is defined in all phases, PMS also says that "pkg_pretend must
6 > not write to the filesystem".
7 >
8 > Is it allowed to write to T or not? Can the specs be clearer if it's
9 > allowed?
10
11 sounds like a good reason to use emktemp as that'll utilize /tmp for files
12 when $T is unavailable
13
14 or just drop EAPI=4 support ;)
15 -mike

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] write to filesystem in pkg_pretend "Petteri Räty" <betelgeuse@g.o>