On Tue, 19 Dec 2017 11:45:58 -0600, Dale wrote:

> > You can prevent depclean from removing gcc and kernel like this
> >
> > % cat /etc/portage/sets.conf
> > [kernels]
> > class = portage.sets.dbapi.OwnerSet
> > world-candidate = False
> > files = /usr/src
> >
> > [gcc]
> > class = portage.sets.dbapi.OwnerSet
> > world-candidate = False
> > files = /usr/x86_64-pc-linux-gnu/gcc-bin
> >
> > Then add @kernels and @gcc to world_sets. I do this and now those
> > packages have to be unmerged manually. 

> I thought at one time we could specify versions or slots in the world
> file.  Has that changed? 

AFAIK you still can, but that means having to add each version to @world.
This way automates it and needs no further action from you once it's set
up.


-- 
Neil Bothwick

We can sympathize with a child who is afraid of the dark, but the
tragedy of life is that most people are afraid of the light.

Attachment: pgpBPRnCk8S80.pgp
Description: OpenPGP digital signature

Reply via email to