1 |
Neil Bothwick wrote: |
2 |
> On Tue, 19 Dec 2017 16:51:27 +1100, Adam Carter wrote: |
3 |
> |
4 |
>> When i depclean i use -av --depclean --exclude gcc --exclude |
5 |
>> gentoo-sources, since i like keep 2 gcc's around and I look after |
6 |
>> sources manually. |
7 |
> You can prevent depclean from removing gcc and kernel like this |
8 |
> |
9 |
> % cat /etc/portage/sets.conf |
10 |
> [kernels] |
11 |
> class = portage.sets.dbapi.OwnerSet |
12 |
> world-candidate = False |
13 |
> files = /usr/src |
14 |
> |
15 |
> [gcc] |
16 |
> class = portage.sets.dbapi.OwnerSet |
17 |
> world-candidate = False |
18 |
> files = /usr/x86_64-pc-linux-gnu/gcc-bin |
19 |
> |
20 |
> Then add @kernels and @gcc to world_sets. I do this and now those |
21 |
> packages have to be unmerged manually. |
22 |
> |
23 |
> Having said that, everything built with gcc-7.2.0 after the profile switch |
24 |
> so I now have only one gcc installed for the first time in years. |
25 |
> |
26 |
> |
27 |
|
28 |
|
29 |
I thought at one time we could specify versions or slots in the world |
30 |
file. Has that changed? |
31 |
|
32 |
Dale |
33 |
|
34 |
:-) :-) |