On Friday 01 Aug 2014 18:15:12 Alexander Kapshuk wrote:
> -------- Original Message --------
> Subject:      Re: [gentoo-user] --exclude gentoo-sources
> Date:         Fri, 01 Aug 2014 20:12:06 +0300
> From:         Alexander Kapshuk <alexander.kaps...@gmail.com>
> To:   gentoo-user@lists.gentoo.org
> 
> On 08/01/2014 07:58 PM, James wrote:
> > Howdy,
> > 
> > I know I can use this option to protect kernel sources I
> > want to keep around, from  removal, via depclean.
> > 
> > 
> > However, I use to just manually edit the world file and
> > explicitly list the kernel sources versions I wanted to keep.
> > This does not seem to work anymore?
> > 
> > Other suggestions to keep the kernel sources around ?
> > 
> > James
> 
> emerge(1)
> Packages that are part of the world set will always be kept. They can be
> manually added to this  set  with  emerge --noreplace <atom>.
> E.g.
> emerge --noreplace =sys-kernel/gentoo-sources-x.x.x
> 
> To remove the kernel sources pkg use:
> emerge --deselect sys-kernel/gentoo-sources:x.x.x
> 
> >>> Removing sys-kernel/gentoo-sources:x.x.x from "world" favorites file...
> 
> Followed by 'emerge -a --depclean'

Or if you're asking how to keep them forever, irrespective of what portage 
contains, you can copy the particular sources in your local overlay.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to