Re: Last released kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 01.03.2017 13:30, Russel Winder wrote:
On Wed, 2017-03-01 at 13:17 +0100, Sandro Mani wrote:
[…]
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.
So get the latest kernel from the latest release fork?

I wonder if there is a way of doing this without dnf in this way to
avoid needing the clean all?
This should work:

koji download-build --quiet --arch=$(uname -m) $(koji latest-build --quiet f25 kernel | awk '{print $1}')

but it downloads all the rpms of the kernel package so in the end it might be slower than the dnf update.
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux