1 |
On Friday 01 Aug 2014 18:15:12 Alexander Kapshuk wrote: |
2 |
> -------- Original Message -------- |
3 |
> Subject: Re: [gentoo-user] --exclude gentoo-sources |
4 |
> Date: Fri, 01 Aug 2014 20:12:06 +0300 |
5 |
> From: Alexander Kapshuk <alexander.kapshuk@×××××.com> |
6 |
> To: gentoo-user@l.g.o |
7 |
> |
8 |
> On 08/01/2014 07:58 PM, James wrote: |
9 |
> > Howdy, |
10 |
> > |
11 |
> > I know I can use this option to protect kernel sources I |
12 |
> > want to keep around, from removal, via depclean. |
13 |
> > |
14 |
> > |
15 |
> > However, I use to just manually edit the world file and |
16 |
> > explicitly list the kernel sources versions I wanted to keep. |
17 |
> > This does not seem to work anymore? |
18 |
> > |
19 |
> > Other suggestions to keep the kernel sources around ? |
20 |
> > |
21 |
> > James |
22 |
> |
23 |
> emerge(1) |
24 |
> Packages that are part of the world set will always be kept. They can be |
25 |
> manually added to this set with emerge --noreplace <atom>. |
26 |
> E.g. |
27 |
> emerge --noreplace =sys-kernel/gentoo-sources-x.x.x |
28 |
> |
29 |
> To remove the kernel sources pkg use: |
30 |
> emerge --deselect sys-kernel/gentoo-sources:x.x.x |
31 |
> |
32 |
> >>> Removing sys-kernel/gentoo-sources:x.x.x from "world" favorites file... |
33 |
> |
34 |
> Followed by 'emerge -a --depclean' |
35 |
|
36 |
Or if you're asking how to keep them forever, irrespective of what portage |
37 |
contains, you can copy the particular sources in your local overlay. |
38 |
-- |
39 |
Regards, |
40 |
Mick |