Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefix chaining
Date: Thu, 26 Mar 2009 09:02:46
Message-Id: 1238058071.6046.48.camel@localhost
In Reply to: Re: [gentoo-alt] prefix chaining by Fabian Groffen
1 On Thu, 2009-03-26 at 09:32 +0100, Fabian Groffen wrote:
2 > On 26-03-2009 08:49:10 +0100, Markus Duft wrote:
3 > > i attached a complete diff (without manifests) FYI, if you like to
4 > > glance over it again - or just the parts you haven't seen.
5 >
6 > ++_ro_root=$(. "@GENTOO_PORTAGE_EPREFIX@"/etc/make.conf && echo
7 > $READONLY_EPREFI
8 > X)
9 > ++_ro_deps=${_ro_root#*:}
10 > ++_ro_root=${_ro_root%:*}
11 > ++if [ -f "${_ro_root}"/etc/profile ]; then
12 > ++ . "${_ro_root}"/etc/profile
13 > ++fi
14 >
15 > If I don't have READONLY_PREFIX set, it will look for /etc/profile,
16 > which I don't want to be sourced on my solaris/darwin/fedora/gentoo system.
17 >
18 > This check needs to see if it was set or not.
19
20 right, thanks - i oversaw that one. fixed.
21
22 >
23 > And please make the portage patch conditional. It's too scary for me
24 > right now to have this applied on everyone.
25
26 ok, i can do so - although i can tell you: the portage patch is the
27 least scary part :) it does absolutely nothing unless READONLY_EPREFIX
28 is set... on what should i make it conditional? a USE flag again?
29
30 Cheers, Markus
31
32 >
33 >

Replies

Subject Author
Re: [gentoo-alt] prefix chaining Fabian Groffen <grobian@g.o>