On 6/19/19 11:27 AM, Grant Taylor wrote:
On 6/19/19 11:37 AM, Vadim A. Misbakh-Soloviov wrote:
echo '>sys-kernel/gentoo-sources-4.15' >> /etc/portage/package.mask/kernels

Perfect!

Thank you.  :-)

I did name the file /etc/portage/package.mask/gentoo-sources as I like to name the file after the package that it's meant to effect.

The testing is even better than I had originally hoped. gentoo-sources-4.14.127.ebuild came in since I did my updates a few days ago.  So now emerge is telling me there is a new version of gentoo-sources, that is within my specified parameters.  :-)




I was thinking about this for a bit, and thought that maybe adding the slot to the package in /var/lib/portage/world would work.

So, using `emerge --select` and `emerge --deselect` I set up my world file this way:

# grep -i gentoo-sources /var/lib/portage/world
sys-kernel/gentoo-sources:4.14.105-r1
sys-kernel/gentoo-sources:4.14.114
sys-kernel/gentoo-sources:4.14.83

I removed all other kernel packages manually so only those three are installed.

However, portage still wants to install the latest gentoo-sources, even though the generic "sys-kernel/gentoo-sources" is absent from the world file.

I figured this would be a way to manually update the kernel without having to manually add and remove masks. Darn.

That's not how I'd expect portage to handle that situation (or maybe it's just me?) Can a dev chime in?

Dan

Reply via email to