1 |
emerge --depclean wants to remove the gentoo-sources for my old kernel |
2 |
[sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the |
3 |
time being. |
4 |
|
5 |
Is there a way to instruct emerge not to remove them? |
6 |
|
7 |
emerge(1) |
8 |
Packages that are part of the world set will always be kept. They can be |
9 |
manually added to this set with emerge --noreplace <atom>. |
10 |
|
11 |
If I understood the instruction above, 'emerge --noreplace |
12 |
sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to |
13 |
/var/lib/portage/world_sets, which it didn't seem to do. |
14 |
|
15 |
box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 |
16 |
!!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. |
17 |
!!! Please check ebuild(5) for full details. |
18 |
|
19 |
|
20 |
box0=; ls -l `pwd`/world* |
21 |
-rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world |
22 |
-rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets |
23 |
|
24 |
Or is it a matter of defining something like this: |
25 |
CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo" |
26 |
in /etc/portage/make.conf? |
27 |
|
28 |
|
29 |
Any pointers would be much appreciated. |