Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Should ${T} be defined in pkg_prepare ?
Date: Sat, 31 Mar 2012 21:25:16
Message-Id: 4F7775F1.3030805@gentoo.org
In Reply to: Re: [gentoo-dev] Should ${T} be defined in pkg_prepare ? by Ulrich Mueller
1 On 03/31/2012 01:56 PM, Ulrich Mueller wrote:
2 >>>>>> On Sat, 31 Mar 2012, Tiziano Müller wrote:
3 >> and since "pkg_pretend is run separately from the main phase
4 >> function sequence, and does not participate in any kind of
5 >> environment saving" it is not guaranteed to be set to the same $T
6 >> later.
7 >
8 > The problem is that apart from T (and maybe HOME), there seems to be
9 > no other directory that check_reqs.eclass could use for its disk space
10 > check in pkg_pretend. WORKDIR doesn't exist in pkg_* phases.
11
12 How about PWD?
13 --
14 Thanks,
15 Zac

Replies

Subject Author
Re: [gentoo-dev] Should ${T} be defined in pkg_prepare ? Ulrich Mueller <ulm@g.o>