On 01.03.2017 10:07, Russel Winder wrote:
I appreciate that Rawhide always has the latest kernel snapshot as the
one and only kernel and that it is up to users to manage their own
kernels. However I wonder if there should be a simple, standard way of
being able to install the last released kernel, perhaps a package last-
release-kernel or something.
The problem for me is that the release kernel only ever seems to be in
Rawhide for one day, and if I miss updating on that day, I have missed
capturing that kernel – it just happened with 4.10 so I am stuck with
an rc8 rather than the release. (And 4.11 won't actually work for a few
rcs yet, same for every new kernel.)
Don't know if this helps, but I have
exclude=kernel*
in dnf.conf and use a script like
ver=$(( $(cat /etc/redhat-release | awk '{print $3}') - 1 ))
dnf -y --disablerepo=* --releasever=$ver --enablerepo=updates*
--disableexcludes=all --nogpgcheck update kernel*
dnf -y --enablerepo=* --releasever=$ver clean all
grub2-mkconfig -o /boot/grub2/grub.cfg
which I run periodically to update to the latest kernel from the current
stable release.
Sandro
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx