On Sat, 19 Nov 2016 11:04:44 -0500, Harry Putnam wrote: > Can anyone post, in laymans, terms how to use sets.conf. Or thru > FEATURES if thats how its done, I've read the posrtage manpage that > covers it and this URL: > > https://dev.gentoo.org/~zmedico/portage/doc/ch02s02.html#config-set-syntax-single > > Finally reinstalled portage with USE="doc" to get the html set > referred to in portage manual as the definitive place to learn about > sets > > But honestly I left those without a stinking clue how to actually use > sets for things like avoiding specific packages being depcleaned. I > mean besides putting them in `world' > > There seems to be a durth of what actually to put into make.conf under > FEATURES or whatever... > > I want to protect certain pkgs from depclean.... how can I put a small > list under `sets' management in make.conf or sets.conf or ....
You can create a set containing a list of packages. I do this for dependencies of packages that are not from portage, so they don't get depcleaned and don't end up in @world. Something like % cat /etc/portage/sets/dependencies ### Needed by my python hacks dev-python/beautifulsoup:4 dev-python/pyserial ### Needed by Prey sys-apps/dmidecode Then emerge -n @dependencies sets.conf is used for other types of definition, I stop older kernels being depcleaned with % cat /etc/portage/sets.conf [kernels] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src then emerge -n @kernels -- Neil Bothwick MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs
pgpbJwHvfVPnz.pgp
Description: OpenPGP digital signature

