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-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Markus Duft <mduft@g.o>
Subject: Re: prefix chaining
Date: Thu, 26 Mar 2009 08:49:10 +0100
On Wed, 2009-03-25 at 15:22 +0100, Markus Duft wrote:
[snip]
> i thought about that before, but i need to do things a little different.
> my startprefix looks like this:
> 
>  3 . "@GENTOO_PORTAGE_EPREFIX@"/sbin/functions.sh
>  4 einfo "entering chained prefix @GENTOO_PORTAGE_EPREFIX@ ..."
>  5 . "@GENTOO_PORTAGE_EPREFIX@"/etc/profile
>  6 
>  7 # if there is no local portage, foreign portage instances need to
> know where to merge to.
>  8 [[ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/emerge ]] || export
> EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
>  9 
> 10 ${BASH} --noprofile
> 11 einfo "leaving chained prefix @GENTOO_PORTAGE_EPREFIX@ ..."
> 
> i need to --noprofile, since the bash i'm starting may not come from
> EPREFIX, but one of the parents in the chain. since i want my profile as
> the first one, which recurses down through the whole chain, i need to do
> it like that... (btw. functions.sh is in my own EPREFIX, since i require
> a baselayout installed in EPREFIX)

any more to say on this? i guess i'll leave startprefix with me for now.

> 
> > 
[snip]

here's the changes i'm waiting to commit right now:

A       app-portage/prefix-chain-setup
A       app-portage/prefix-chain-setup/files
A       app-portage/prefix-chain-setup/files/prefix-chain-setup.in
A       app-portage/prefix-chain-setup/Manifest
A       app-portage/prefix-chain-setup/prefix-chain-setup-0.2.ebuild
D       sys-apps/portage/files/portage-2.2.00.12574-cross-prefix.patch
D       sys-apps/portage/files/portage-2.2.00.12540-cross-prefix.patch
D       sys-apps/portage/files/portage-2.2.00.12425-cross-prefix.patch
A
sys-apps/portage/files/portage-2.2.00.13133-prefix-chaining.patch
M       sys-apps/portage/Manifest
M       sys-apps/portage/portage-2.2.00.13133.ebuild
A
sys-apps/baselayout-prefix/files/baselayout-1.12.5-prefix-chaining.patch
M       sys-apps/baselayout-prefix/Manifest
D       sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r5.ebuild
A  +    sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r6.ebuild
A       sys-apps/prefix-chain-utils
A       sys-apps/prefix-chain-utils/files
A       sys-apps/prefix-chain-utils/files/startprefix.in
A       sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in
A       sys-apps/prefix-chain-utils/Manifest
A       sys-apps/prefix-chain-utils/prefix-chain-utils-0.2.ebuild

i version bumped baselayout, although i guess it would not be strictly
neccessary - just to be safe.

there are two new packages - app-portage/prefix-chain-setup provides the
prefix-chain-setup script, which is used to bootstrap chained eprefixes.
sys-apps/prefix-chain-utils contains startprefix, and a toolchain
wrapper making it possible to use the native toolchain of another prefix
with chaining (making paths of all prefixes in play appear on the
command line - this may be slow where exec is slow, and the chain is
long - i can live with that).

i attached a complete diff (without manifests) FYI, if you like to
glance over it again - or just the parts you haven't seen.

(i'll start writing changelog right now, so those are not there... :))

Cheers, Markus

> Cheers, Markus
> 
> > 
[snip]
> 
Attachment:
xx.patch.gz (GNU Zip compressed data)
Replies:
Re: prefix chaining
-- Fabian Groffen
References:
prefix chaining
-- Markus Duft
Re: prefix chaining
-- Fabian Groffen
Re: prefix chaining
-- Markus Duft
Re: prefix chaining
-- Fabian Groffen
Re: prefix chaining
-- Markus Duft
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: prefix chaining
Next by thread:
Re: prefix chaining
Previous by date:
Re: [PREFIX] prefix keywords need to go (?)
Next by date:
Re: prefix chaining


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

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