-
Notifications
You must be signed in to change notification settings - Fork 1.9k
RPM: Explicitly set the required min/max kernel version for the DKMS #12124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPM: Explicitly set the required min/max kernel version for the DKMS #12124
Conversation
…package Signed-off-by: Armin Wehrfritz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually specifying the supported kernel versions as part of the DKMS dependencies is a great idea.
…package Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Armin Wehrfritz <[email protected]> Closes openzfs#12124
…package Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Armin Wehrfritz <[email protected]> Closes openzfs#12124
…package Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Armin Wehrfritz <[email protected]> Closes #12124
Hey, this is blocking me to upgrade kernel from Is it expected? If I let I can upgrade excluding
And I've been using it on kernel 5.12 for some time now. Shouldn't |
@dioni21 it appears that you are still on version 2.1.99 which was released somewhere between RC3 and RC4, and does not contain the changes in this PR, so this does not apply to your case. In fact, there is currently no stable ZFS release which supports Linux 5.12. I hope that @tonyhutter will release the next point release in the 2.0.x series soon in order to get all Fedora, Arch, Gentoo, OpenSUSE users to a supported kernel again (Linux 5.11 is EOL for a few weeks no already). If you feel adventurous you can test the latest release candidate for 2.1.0 (2.1.0-rc7) which contains this patch as well as support for Linux 5.12. As you are already on a pre-release version, that might indeed be your best option here. |
@awehrfritz I try to always be in master, as current as possible. The last one I compiled is The fix was to edit
BTW: There was not, and never will be a release named |
Hmm, you indicated in your previous message that you are on release
This has been fixed already over a month ago with RC5: The master branch though is indeed missing that update. If you can submit a PR to rectify this, then you can discuss any potential issue with the developers there. But as far as this PR is concerned, I don't see an issue here. |
This means a RPM build from commit 83ba91a
I have upgraded again since, to check if a fix has already been placed.
That tag is just to indicate when master has deviated from 2.1.0, as the commit 9ac82ca indicates:
Yes, in rc5, just not in master, that is the main branch.
Ok. |
This was indeed an oversight, Ive updated the master branch to bump the maximum Linux version. |
…package Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Armin Wehrfritz <[email protected]> Closes #12124
Motivation and Context
Some RPM-based Linux distributions are either on a rolling-release schedule or adopt new kernel releases very quickly (e.g. Fedora Linux). While OpenZFS typically incorporate patches for the latest Linux kernel (or even development version), quite often there is a delay between kernel releases and ZFS releases that contain compatibility patches for the latest kernel. For instance, with kernel 5.11 being end-of-life and Fedora 34 rolling out kernel version 5.12, ZFS users manually need ensure their systems don't update to the latest kernel since the latest stable ZFS release (2.0.4) does not yet support kernel 5.12. This minor tweak to the rpm-spec file ensures that the kernel packages are not update to versions not yet supported by the latest ZFS release.
Description
The changes comprise a minor tweak to the rpm-spec file which ensures that the kernel packages are not update to versions not yet supported by the latest ZFS release. The information in the rpm-spec file is obtained from the
META
information during the configuration step.How Has This Been Tested?
Tested locally on my Fedora 34 Linux system
Types of changes
Checklist:
Signed-off-by
.