1 |
On Fri, 17 Nov 2006, Marius Mauch wrote: |
2 |
|
3 |
> I prefer to have one way to do things, and the system for variables |
4 |
> worked quite well so far. Adding CLI overrides on top of that seems not |
5 |
> only redundant to me but also potentially confusing (which vars have CLI |
6 |
> overrides? where in the incremental stack does the override fit in?). |
7 |
> Add that to the already overloaded option system. |
8 |
|
9 |
This particular option clearly can't participate in the incremental stack |
10 |
at all, because it controls which set of config files you read the entire |
11 |
incremental stack out of. So that's not an issue. |
12 |
|
13 |
> Besides, if you need this feature on a somewhat regular base it seems |
14 |
> easier to me to just export the var once instead of specifying the |
15 |
> option on the command line all the time (ok, using DEFAULT_OPTS avoids |
16 |
> that, but then you have the same issues you listed above). |
17 |
|
18 |
config_root is useful primarily when there are multiple configurations |
19 |
that you use. Exporting it in your environment would be profoundly |
20 |
confusing, because then you have different shells that build the same |
21 |
packages differently, with no indication of what's going on. You'd surely |
22 |
end up installing qtopia on your workstation or firefox on your pda. |
23 |
|
24 |
To update your workstation you do: |
25 |
% emerge -pvutDN world |
26 |
|
27 |
To update your pda disk image you do: |
28 |
% emerge --config-root=/etc/pda -pvutDN world |
29 |
|
30 |
-Daniel |
31 |
*This .sig left intentionally blank* |
32 |
-- |
33 |
gentoo-portage-dev@g.o mailing list |