On 04/09/2015 10:38, Neil Bothwick wrote: > On Thu, 03 Sep 2015 13:56:51 -0600, the...@sys-concept.com wrote: > >>>>> sys-kernel/gentoo-sources >>>>> sys-kernel/gentoo-sources:3.10.17 >>>>> sys-kernel/gentoo-sources:3.5.7 >>>> >>>> Wee bit behind on kernel versions... >>> >>> Yes, only the first is needed, *unless* thelma wants to keep 3.10.17 >>> and 3.5.7 for some reason. >> >> Keeping in world only: >> sys-kernel/gentoo-sources >> >> will keep the newest kernel in world and unmerge 3.10.17 the one I'm >> using > > You don't need the source package for the kernel you're running, you've > already compiled it, but there's another sets trick you can use to > prevent depclean from removing kernel packages, put this > in /etc/portage/sets.conf
I always keep full sources around for any runnable kernel I have, too often I've been caught out needing to build a module without them :-) > > [kernels] > class = portage.sets.dbapi.OwnerSet > world-candidate = False > files = /usr/src > > It stops depclean removing any package that has files in /usr/src. > > -- Alan McKinnon alan.mckin...@gmail.com