On Mon, 4 Oct 2021 19:09:22 +0100
Neil Bothwick <n...@digimed.co.uk> wrote:

> On Mon, 4 Oct 2021 10:33:58 +0200, Arve Barsnes wrote:
>  
> I picked up this tip some years ago to avoid depcleaning kernel
> sources.
> 
> % cat /etc/portage/sets.conf
> [kernels]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/src 
> 
> and emerge -n @kernels
> 
> I also have this in the file to allow multiple GCC versions.
> 
> [gcc]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/x86_64-pc-linux-gnu/gcc-bin
> 
> 

I use an alias for depclean to achieve the same result:

alias depclean='emerge -va --depclean --exclude gentoo-sources --exclude gcc 
--exclude mythweb --exclude php --exclude owncloud'

Steve
-- 
____________________________________________________________________
Steve Evans            E-mail: mailto:ste...@gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key:         http://www.gorbag.com/public-key.html
____________________________________________________________________

5.10.61-gentoo Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GNU/Linux

 22:46:01 up 14 days, 12:25,  5 users,  load average: 1.25, 0.68, 0.65

"I remember when I was a kid I used to come home from Sunday School and
 my mother would get drunk and try to make pancakes."
-- George Carlin

Attachment: pgpESdylfYp0E.pgp
Description: OpenPGP digital signature

Reply via email to