On Wed, 24 Feb 2016 22:55:30 -0500, Harry Putnam wrote: > I'd like to stay on kernel-4.1.6, rather than keep installing the > newest version at each upgrade. > > As I recall, and a quick look at `man portage', a file named > `package.provided' is meant for such things.
No it's not. package.provided is for when you install a package from outside of portage and want to let portage know it is installed. > The syntax is not described in detail... I tried these: > > /etc/portage/package.provided The file is /etc/portage/profile/package.provided > > >=sys-kernel/gentoo-sources-4.1.6 and it only allows specific atoms, =cat/pkg > Still `emerge -vp gentoo-sources' indicates it will install the most > recent kernel. You want to use /etc/portage/package.mask, with this entry >sys-kernel/gentoo-sources-4.1.6 One of the disadvantages of this is that when that particular version is removed from the tree, portage will try to downgrade, because you has blocked an upgrade. To avoid this, copy the ebuild to a local overlay so it is always available. You'll also miss out on any security updates etc, but I guess you have already considered that. -- Neil Bothwick If Wile E. Coyote had enough money to buy all that ACME crap, why didn't he just buy dinner?
pgpxg6Hpw6Bem.pgp
Description: OpenPGP digital signature