1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Daniel Barkalow wrote: |
5 |
> Let PORTAGE_CONFIGROOT/etc/make.conf, where PORTAGE_CONFIGROOT is not /, |
6 |
> specify ROOT. |
7 |
> |
8 |
> In general, a set of configuration files other than the base set is |
9 |
> intended for a target root other than the live system. Normally, it is |
10 |
> intended for a particular target root. This patch allows make.conf in this |
11 |
> situation to specify the target root. A ROOT environment variable, if set, |
12 |
> overrides this setting (so the user can use a configuration that's |
13 |
> normally used for target A on target B, if desired). |
14 |
> |
15 |
> This patch also postpones the setting of defaults for PORTAGE_CONFIGROOT |
16 |
> and ROOT until just before they are used, so that it is possible to |
17 |
> distinguish an emerge command with "ROOT=/" from one without ROOT set. |
18 |
|
19 |
That's consistent with overall portage behavior (environment |
20 |
variables override those specified in config files), which is good. |
21 |
I've already written my own version of your --config-root patch and |
22 |
hopefully I'll commit support for both of your features later today. |
23 |
|
24 |
Even though I personally added PORTAGE_CONFIGROOT support to |
25 |
portage, I haven't used it much myself. I'm glad that someone |
26 |
having practical experience with this feature has come along to |
27 |
suggest these improvements. Thanks again. |
28 |
|
29 |
Zac |
30 |
-----BEGIN PGP SIGNATURE----- |
31 |
Version: GnuPG v1.4.5 (GNU/Linux) |
32 |
|
33 |
iD8DBQFFYOVe/ejvha5XGaMRAhYsAKC899d6XCwq3evde3nw8B8nbf6pqQCgmrwJ |
34 |
2aSRG1qCUKlvpZrTarcsD24= |
35 |
=qss/ |
36 |
-----END PGP SIGNATURE----- |
37 |
-- |
38 |
gentoo-portage-dev@g.o mailing list |