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