Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ml-en@××××××.net
Subject: Re: [gentoo-dev] write to filesystem in pkg_pretend
Date: Fri, 17 Jun 2011 16:36:31
Message-Id: 20110617183618.09b9b001@pomiocik.lan
In Reply to: [gentoo-dev] write to filesystem in pkg_pretend by Torsten Veller
1 On Fri, 17 Jun 2011 18:25:21 +0200
2 Torsten Veller <ml-en@××××××.net> wrote:
3
4 > * justin <jlec@g.o>:
5 > > Now using the new pkg_pretend for EAPI=4
6 >
7 > While T is defined in all phases, PMS also says that "pkg_pretend must
8 > not write to the filesystem".
9 >
10 > Is it allowed to write to T or not? Can the specs be clearer if it's
11 > allowed?
12
13 No, it's not allowed. pkg_pretend() should work without creating
14 the ebuild temporary dirs. But that's only my PoV.
15
16 --
17 Best regards,
18 Michał Górny

Attachments

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