public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-pms] [PATCH] Re: Write to filesystem in pkg_* phases
  @ 2020-07-05 19:04 99%   ` Ulrich Mueller
  0 siblings, 0 replies; 1+ results
From: Ulrich Mueller @ 2020-07-05 19:04 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

>>>>> On Fri, 26 Jun 2020, Ulrich Mueller wrote:

>> This topic was already discussed in -dev some time ago [1], but went
>> nowhere at the time. Now it came up again in bug 469210 [2].
>> (Ironically, checking for a particular kernel configuration is the
>> example mentioned in the spec for pkg_pretend.)

>> We say in Table 11.1 [3] that T and TMPDIR (and HOME) are legal in all
>> phases and must be "the location of a usable temporary directory". At
>> the same time, we say in the spec for pkg_* phases that they "must not
>> write to the filesystem" [4], or that they "must not write outside of
>> the directories specified by the ROOT and D environment variables" [5]
>> which effectively forbids writing to the ${T} etc. directories.

>> What is the purpose of this restriction? From above mentioned bug I
>> conclude that neither Portage nor Paludis enforce it.

> Coming back to this. As I have been told, the same is true for Pkgcore.
> So, find a patch included below. Please review.

Pushed.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-06-02  9:42     [gentoo-pms] Write to filesystem in pkg_* phases Ulrich Mueller
2020-06-26 10:39     ` [gentoo-pms] [PATCH] " Ulrich Mueller
2020-07-05 19:04 99%   ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox