Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: `sets' & sets.conf
Date: Sun, 20 Nov 2016 15:30:53
Message-Id: 87lgwegodd.fsf@reader.local.lan
In Reply to: Re: [gentoo-user] Re: `sets' & sets.conf by Neil Bothwick
1 Neil Bothwick <neil@××××××××××.uk> writes:
2
3 > On Sat, 19 Nov 2016 19:43:56 -0500, Harry Putnam wrote:
4 >
5 >> > % cat /etc/portage/sets.conf
6 >> > [kernels]
7 >> > class = portage.sets.dbapi.OwnerSet
8 >> > world-candidate = False
9 >> > files = /usr/src
10 >> >
11 >> > then emerge -n @kernels
12 >>
13 >> This one kind of sails right over my head... not seeing what is
14 >> supposed to happen.
15 >
16 > It's in the part of my post you didn't quote, it stops older kernels
17 > being depcleaned. Basically it is saying that any package with files
18 > in /usr/src is a member of the kernels set. As emerge -n @kernels adds
19 > that to world_sets, nothing with files in /usr/src will even get
20 > depcleaned. It means I can keep as many or as few kernels as I want
21 > without having to fudge it in world.
22
23 Got it thanks again... can't really apologize for the densness factor
24 but I guess my punishment is ... I live with it...