Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ulrich Mueller <ulm@g.o>
Subject: Re: write to filesystem in pkg_pretend
Date: Sat, 18 Jun 2011 14:57:28 +0200
>>>>> On Sat, 18 Jun 2011, justin  wrote:

> On 18/06/11 13:18, Petteri Räty wrote:
>> That approach would still write to the filesystem. With the current
>> text the PM is probably allowed to set the sandbox so that writing
>> is anywhere is denied.

> The reason why it would be beneficial to use is the pkg_pretend
> phase is simply that the checks would run at the beginning of a
> emerge and it would fail directly instead somewhere in the middle.
> For a single package it won't change much but for a huge emerge it
> changes the things.

> But when there is no writing allowed during the pretend phase. then
> the only chance is to move it to pkg_setup.

I wonder if we could loosen up that requirement in PMS. In Portage
at least, T seems to point to an existing directory in pkg_pretend.
I don't know about the other package managers though.

Ulrich


References:
Please review fortran-2.eclass
-- justin
Re: Please review fortran-2.eclass
-- justin
write to filesystem in pkg_pretend
-- Torsten Veller
Re: write to filesystem in pkg_pretend
-- Mike Frysinger
Re: write to filesystem in pkg_pretend
-- Petteri Räty
Re: write to filesystem in pkg_pretend
-- justin
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: write to filesystem in pkg_pretend
Next by thread:
Re: write to filesystem in pkg_pretend
Previous by date:
Re: write to filesystem in pkg_pretend
Next by date:
Re: write to filesystem in pkg_pretend


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.