-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
zfs: Make latestCompatibleLinuxPackages always point at a vanilla kernel #342176
Conversation
pinging @amarshall listed as a maintainer |
The change causing this problem apparently also reached stable (i laned on -gnu) which breaks my graphics support. Please backport this PR also to 24.05. |
I've tested your pull request by cherry picking it manually onto stable. It restores expedited behavior. 👍 |
As it was before, this would filter all available kernel packages and pick the one with the highest version that was supported by zfs. This included variants like linux_libre and linux_rt. When multiple kernels of the same version were available, the choice of which one was selected was ill-defined (determined by ordering of attrs I think). The result was that while zfs support was lagging behind the latest LTS, this almost always pointed at a vanilla kernel, but since 636134b it pointed at a linux_libre. This is effectively a breaking change, so should be avoided.
8d71f19
to
af2e61e
Compare
|
As it was before, this would filter all available kernel packages and pick the one with the highest version that was supported by zfs. This included variants like linux_libre and linux_rt. When multiple kernels of the same version were available, the choice of which one was selected was ill-defined (determined by ordering of attrs I think).
The result was that while zfs support was lagging behind the latest LTS, this almost always pointed at a mainline kernel, but since 636134b it pointed at a linux_libre. This is effectively a breaking change, so should be avoided.
Things done
nix-build -A nixosTests.zfs
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usageAdd a 👍 reaction to pull requests you find important.