1 |
Daniel Frey wrote: |
2 |
> On 03/01/18 23:33, zlg wrote: |
3 |
>> On Tue, Feb 27, 2018 at 01:22:57PM -0600, Dale wrote: |
4 |
>>> P. S. On the rare occasion I want to add something to the world file, I |
5 |
>>> either do it directly or use --select y to override the -1 in |
6 |
>>> make.conf. That helps keep the world file from getting cluttered up to |
7 |
>>> no end with things that shouldn't be there. |
8 |
>>> |
9 |
>> I recently took --oneshot out of EMERGE_DEFAULT_OPTS due to failing to |
10 |
>> find --select y; now I can add it back in. Thanks for the tip! |
11 |
>> |
12 |
>> ~zlg |
13 |
>> |
14 |
> I've always used --noreplace or -n for that purpose. |
15 |
> |
16 |
> Dan |
17 |
> |
18 |
> |
19 |
|
20 |
|
21 |
The reason I have been using --select y is this: |
22 |
|
23 |
|
24 |
--select [ y | n ] (-w short option) |
25 |
Add specified packages to the world set (inverse of |
26 |
--oneshot). This is useful if you want to use EMERGE_DEFAULT_OPTS to |
27 |
make --oneshot behavior default. |
28 |
|
29 |
|
30 |
If I've already installed the package and don't want to rebuild it |
31 |
again, I add -n to the line. I never tried just -n because it doesn't |
32 |
mention adding anything to the world file only that it doesn't build the |
33 |
package. |
34 |
|
35 |
|
36 |
--noreplace (-n) |
37 |
Skips the packages specified on the command-line that have |
38 |
already been installed. Without this option, any package atoms or |
39 |
package sets you specify on |
40 |
the command-line will cause Portage to remerge the |
41 |
package, even if it is already installed. Note that Portage will not |
42 |
remerge dependencies by default. |
43 |
This option can be used to update the world file without |
44 |
rebuilding the packages. |
45 |
|
46 |
|
47 |
For the way I do packages, I guess my way works better. Sometimes I |
48 |
install something, play with it a while and then decide whether to keep |
49 |
it or not or let --depclean remove it and it's friends. |
50 |
|
51 |
Dale |
52 |
|
53 |
:-) :-) |