-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
[Backport release-24.05] zfs: 2.2.5 -> 2.2.6 #340382
[Backport release-24.05] zfs: 2.2.5 -> 2.2.6 #340382
Conversation
(cherry picked from commit 52a7570)
This removes the need to micromanage this value, instead we simply find the correct one based on the existing kernelCompatible attr (though that is now a function). This not only simplifies ZFS upgrades, but also whenever Kernel versions are removed due to EOL. (cherry picked from commit 7fa05c7) (cherry picked from commit 34e1748) (cherry picked from commit d174eca)
- This release brings official support for Kernel 6.10 - Also update zfs_unstable as it would otherwise lag behind - Upstream now links `zpool` completion, so only do so on older zfs (since we still need to support 2.1.x) Changelog: https://github.com/openzfs/zfs/releases/tag/zfs-2.2.6 (cherry picked from commit 636134b)
(cherry picked from commit 9bd0b5a)
(cherry picked from commit cf572e0)
624bc20
to
ba61046
Compare
Result of 4 packages marked as broken and skipped:
98 packages built:
|
I’m comfortable moving forward whenever you are. |
All good on my end. |
I built Repro:
|
Indeed unexpected. The problem is that 24.05, unlike unstable, does not set an alternative pname for linux-libre. Oy. I’ll have a PR later today. |
Additionally, I would generally recommend against using latestCompatibleLinuxPackages at all—your Kernel can (and will) go backwards at times. |
This is good advice; recent wifi chipsets seem to be quite dependent on having a newer kernel version, and the recent downgrade to 6.6 on |
I'm going to revert the commit. |
You prefaced this with being on the fence about but next time, please don't backport such changes. They're bound to run into issues like this and it's better to just eat the minor maintenance overhead for the next few months (isn't that like 2 PRs max anyways?). We really should not break stable like this. |
Description of changes
I’m on the fence about backporting the changes to
latestCompatibleLinuxPackages
—it does make backporting and maintenance a lot easier. It should also ease backports for Kernel updates and removals as it decouples the ZFS drv from them somewhat. My hesitation is simply that it is a more “substantial” change.Leaving this draft for a bit for discussion re above and also to let 2.2.6 sit on unstable for a bit before backporting.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.