1 |
On Mon, 4 Oct 2021 19:09:22 +0100 |
2 |
Neil Bothwick <neil@××××××××××.uk> wrote: |
3 |
|
4 |
> On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote: |
5 |
> |
6 |
> I picked up this tip some years ago to avoid depcleaning kernel |
7 |
> sources. |
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 |
> and emerge -n @kernels |
16 |
> |
17 |
> I also have this in the file to allow multiple GCC versions. |
18 |
> |
19 |
> [gcc] |
20 |
> class = portage.sets.dbapi.OwnerSet |
21 |
> world-candidate = False |
22 |
> files = /usr/x86_64-pc-linux-gnu/gcc-bin |
23 |
> |
24 |
> |
25 |
|
26 |
I use an alias for depclean to achieve the same result: |
27 |
|
28 |
alias depclean='emerge -va --depclean --exclude gentoo-sources --exclude gcc --exclude mythweb --exclude php --exclude owncloud' |
29 |
|
30 |
Steve |
31 |
-- |
32 |
____________________________________________________________________ |
33 |
Steve Evans E-mail: mailto:stevee@××××××.com |
34 |
Registered Linux user #217906: http://counter.li.org |
35 |
Public Encryption Key: http://www.gorbag.com/public-key.html |
36 |
____________________________________________________________________ |
37 |
|
38 |
5.10.61-gentoo Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GNU/Linux |
39 |
|
40 |
22:46:01 up 14 days, 12:25, 5 users, load average: 1.25, 0.68, 0.65 |
41 |
|
42 |
"I remember when I was a kid I used to come home from Sunday School and |
43 |
my mother would get drunk and try to make pancakes." |
44 |
-- George Carlin |