1 |
On Thu, Jun 11, 2009 at 11:45 AM, Mike Kazantsev<mk.fraggod@×××××.com> wrote: |
2 |
>> So, my question: Is there a way to tell depclean to never remove *any* |
3 |
>> version of gentoo-sources? |
4 |
> |
5 |
> That's where portage-2.2 sets find another use. |
6 |
> Just add following set to /usr/share/portage/config/sets.conf: |
7 |
> |
8 |
> [kernels] |
9 |
> class = portage.sets.dbapi.OwnerSet |
10 |
> world-candidate = False |
11 |
> files = /usr/src |
12 |
> |
13 |
> And append "@kernels" line to /var/lib/portage/world_sets |
14 |
> Now any installed (even with -1) kernel should be safe from ravenous |
15 |
> depclean. |
16 |
|
17 |
Perfect! It does exactly what I wanted. I created sets.conf in |
18 |
/etc/portage/ as Boris pointed out. |
19 |
|
20 |
Thank you very much for your help! |