1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Wednesday 24 March 2004 03:44, Paul Smith wrote: |
5 |
> I'm interested in allowing Portage to install packages into disk areas |
6 |
> rooted somewhere besides /. That is, I would like to be able to invoke |
7 |
> emerge, etc. and have the resulting install step place the output into a |
8 |
> $PREFIX value I've defined, rather than the root directory. I would |
9 |
> thus keep many different Portage "installations", or images, on the same |
10 |
> system, and none of them would interfere with my real system. |
11 |
|
12 |
As Lisa said, the $ROOT environment variable is what you want. I've never |
13 |
tried using it though, so I can't vouch for how well it is supported. |
14 |
|
15 |
> 1) In many places in the original Portage code I see "/" being used as |
16 |
> a key into the db[] dictionary, like this: |
17 |
> |
18 |
> db["/"]["vartree"].dbapi.move_ent(mysplit) |
19 |
> |
20 |
> Then in other places, I see a key like this: |
21 |
> |
22 |
> mydbapi=db[root]["vartree"].dbapi |
23 |
|
24 |
In ebuilds you'll find DEPEND, RDEPEND and PDEPEND. DEPEND is build time |
25 |
dependencies and must always be satisfied by packages installed on the "/" |
26 |
file system. RDEPEND on the other hand is run-time dependencies and must be |
27 |
satisfied on the root filesystem. PDEPEND is a special form of RDEPEND. |
28 |
|
29 |
> 2) Is there any interest in having changes such as we've made submitted |
30 |
> back to the Portage team for inclusion in standard Portage? |
31 |
|
32 |
Patches are welcome. Just make sure that separate issues are dealt with in |
33 |
separate patches and that they are as concise as possible and include code |
34 |
comments to explain things that aren't really obvious. And of course that |
35 |
they can be applied to a clean release. |
36 |
|
37 |
> PS. I would send this to the portage mailing list but I've been |
38 |
> subscribed for a month or two now and I've seen about 3 messages to |
39 |
> that list, one of which was from me, and none of which had any |
40 |
> reply. My emails to this list seem to get more response. |
41 |
|
42 |
I must have missed that one too, but I can't seem to find anything from you in |
43 |
my archives... |
44 |
|
45 |
Regards, |
46 |
Jason Stubbs |
47 |
-----BEGIN PGP SIGNATURE----- |
48 |
Version: GnuPG v1.2.4 (GNU/Linux) |
49 |
|
50 |
iQCVAwUBQGCM3VoikN4/5jfsAQJliwQAm8r02ZmJN9wU/1S7dZ9DjA8+9Y/IXBFI |
51 |
iyO2XFrFKiBEZJr1+NeLap9yTMUHphTRfBIz9fv1S8AB6ztI9vw0Zu+zskrXVnA2 |
52 |
wv06AW3D5L6wOGDqpcFGVY6YKsPuw5ZdlZaYQlWQ+wKu0x4EmsOdxL3077CVX9f0 |
53 |
o9BMJUnn0Qk= |
54 |
=j/+M |
55 |
-----END PGP SIGNATURE----- |
56 |
|
57 |
-- |
58 |
gentoo-dev@g.o mailing list |