1 |
On Tue, 19 Dec 2017 16:51:27 +1100, Adam Carter wrote: |
2 |
|
3 |
> When i depclean i use -av --depclean --exclude gcc --exclude |
4 |
> gentoo-sources, since i like keep 2 gcc's around and I look after |
5 |
> sources manually. |
6 |
|
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 |
Neil Bothwick |
29 |
|
30 |
I don't know if I can assimilate one more Borg Tagline! |