Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefix-portage as root
Date: Fri, 29 Feb 2008 07:51:58
Message-Id: 20080229075148.GG16120@gentoo.org
In Reply to: Re: [gentoo-alt] prefix-portage as root by Michael Weiser
1 On 29-02-2008 01:04:13 +0100, Michael Weiser wrote:
2 > On Thu, Feb 28, 2008 at 08:53:24PM +0100, Michael Weiser wrote:
3 >
4 > > I guess, the next step would be to wrap src_build() and src_install()
5 > > into a sandbox that can't leave $EPREFIX/var/tmp/portage.
6 >
7 > Attached is a first attempt at this.
8 >
9 > The next step would be to wrap the whole emerge in a sandbox so that it
10 > can't leave $EPREFIX. Unfortunately Mac OS X sandboxes don't seem to be
11 > nestable. So I guess the next best thing to do would be to wrap the
12 > actual replacing and removing of the package's files. But I can't seem
13 > to find the place where it's done. Can you give me a pointer?
14
15 For the moment, no, as I haven't ever looked at how it is done in
16 Portage. I suspect it is part of ebuild.sh or misc-functions.sh though.
17 You could grep for "sandbox" in usr/lib/portage/bin for a start.
18
19
20
21 --
22 Fabian Groffen
23 Gentoo on a different level
24 --
25 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] prefix-portage as root Michael Weiser <michael@×××××××××××××××.net>