Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefix chaining
Date: Thu, 26 Mar 2009 08:32:10
In Reply to: Re: [gentoo-alt] prefix chaining by Markus Duft
On 26-03-2009 08:49:10 +0100, Markus Duft wrote:
> i attached a complete diff (without manifests) FYI, if you like to > glance over it again - or just the parts you haven't seen.
++_ro_root=$(. "@GENTOO_PORTAGE_EPREFIX@"/etc/make.conf && echo $READONLY_EPREFI X) ++_ro_deps=${_ro_root#*:} ++_ro_root=${_ro_root%:*} ++if [ -f "${_ro_root}"/etc/profile ]; then ++ . "${_ro_root}"/etc/profile ++fi If I don't have READONLY_PREFIX set, it will look for /etc/profile, which I don't want to be sourced on my solaris/darwin/fedora/gentoo system. This check needs to see if it was set or not. And please make the portage patch conditional. It's too scary for me right now to have this applied on everyone. -- Fabian Groffen Gentoo on a different level


Subject Author
Re: [gentoo-alt] prefix chaining Markus Duft <mduft@g.o>