1 |
On Wed, 2009-03-25 at 15:22 +0100, Markus Duft wrote: |
2 |
[snip] |
3 |
> i thought about that before, but i need to do things a little different. |
4 |
> my startprefix looks like this: |
5 |
> |
6 |
> 3 . "@GENTOO_PORTAGE_EPREFIX@"/sbin/functions.sh |
7 |
> 4 einfo "entering chained prefix @GENTOO_PORTAGE_EPREFIX@ ..." |
8 |
> 5 . "@GENTOO_PORTAGE_EPREFIX@"/etc/profile |
9 |
> 6 |
10 |
> 7 # if there is no local portage, foreign portage instances need to |
11 |
> know where to merge to. |
12 |
> 8 [[ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/emerge ]] || export |
13 |
> EPREFIX="@GENTOO_PORTAGE_EPREFIX@" |
14 |
> 9 |
15 |
> 10 ${BASH} --noprofile |
16 |
> 11 einfo "leaving chained prefix @GENTOO_PORTAGE_EPREFIX@ ..." |
17 |
> |
18 |
> i need to --noprofile, since the bash i'm starting may not come from |
19 |
> EPREFIX, but one of the parents in the chain. since i want my profile as |
20 |
> the first one, which recurses down through the whole chain, i need to do |
21 |
> it like that... (btw. functions.sh is in my own EPREFIX, since i require |
22 |
> a baselayout installed in EPREFIX) |
23 |
|
24 |
any more to say on this? i guess i'll leave startprefix with me for now. |
25 |
|
26 |
> |
27 |
> > |
28 |
[snip] |
29 |
|
30 |
here's the changes i'm waiting to commit right now: |
31 |
|
32 |
A app-portage/prefix-chain-setup |
33 |
A app-portage/prefix-chain-setup/files |
34 |
A app-portage/prefix-chain-setup/files/prefix-chain-setup.in |
35 |
A app-portage/prefix-chain-setup/Manifest |
36 |
A app-portage/prefix-chain-setup/prefix-chain-setup-0.2.ebuild |
37 |
D sys-apps/portage/files/portage-2.2.00.12574-cross-prefix.patch |
38 |
D sys-apps/portage/files/portage-2.2.00.12540-cross-prefix.patch |
39 |
D sys-apps/portage/files/portage-2.2.00.12425-cross-prefix.patch |
40 |
A |
41 |
sys-apps/portage/files/portage-2.2.00.13133-prefix-chaining.patch |
42 |
M sys-apps/portage/Manifest |
43 |
M sys-apps/portage/portage-2.2.00.13133.ebuild |
44 |
A |
45 |
sys-apps/baselayout-prefix/files/baselayout-1.12.5-prefix-chaining.patch |
46 |
M sys-apps/baselayout-prefix/Manifest |
47 |
D sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r5.ebuild |
48 |
A + sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r6.ebuild |
49 |
A sys-apps/prefix-chain-utils |
50 |
A sys-apps/prefix-chain-utils/files |
51 |
A sys-apps/prefix-chain-utils/files/startprefix.in |
52 |
A sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in |
53 |
A sys-apps/prefix-chain-utils/Manifest |
54 |
A sys-apps/prefix-chain-utils/prefix-chain-utils-0.2.ebuild |
55 |
|
56 |
i version bumped baselayout, although i guess it would not be strictly |
57 |
neccessary - just to be safe. |
58 |
|
59 |
there are two new packages - app-portage/prefix-chain-setup provides the |
60 |
prefix-chain-setup script, which is used to bootstrap chained eprefixes. |
61 |
sys-apps/prefix-chain-utils contains startprefix, and a toolchain |
62 |
wrapper making it possible to use the native toolchain of another prefix |
63 |
with chaining (making paths of all prefixes in play appear on the |
64 |
command line - this may be slow where exec is slow, and the chain is |
65 |
long - i can live with that). |
66 |
|
67 |
i attached a complete diff (without manifests) FYI, if you like to |
68 |
glance over it again - or just the parts you haven't seen. |
69 |
|
70 |
(i'll start writing changelog right now, so those are not there... :)) |
71 |
|
72 |
Cheers, Markus |
73 |
|
74 |
> Cheers, Markus |
75 |
> |
76 |
> > |
77 |
[snip] |
78 |
> |