Skip to content
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

[20.03] Backport linux latest and testing #91226

Merged

Conversation

bjornfor
Copy link
Contributor

Motivation for this change

My new laptop needs linux >= 5.7 for graphics support and release-20.03 only has linux <= 5.6. This backports linuxPackages_latest and linuxPackages_testing from master.

This is a much smaller version of #91225, where nothing but the *latest and *testing kernels are being updated, and none of the strictly unneeded configuration changes.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

NeQuissimus and others added 15 commits June 20, 2020 22:36
(cherry picked from commit 25f706b)
(cherry picked from commit 3f448f0)
(cherry picked from commit 1e41aa8)
(cherry picked from commit cd167a0)
(cherry picked from commit c76bad0)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit d403911)
(cherry picked from commit 61b97c1)
(cherry picked from commit b6456e5)
(cherry picked from commit 8b5a312)
Changes:
- Copied linux-5.7.nix from linux-5.6.nix
- Add linux_5_7 and linuxPackages_5_7
- Update linux_latest to 5.7

Note:
The kernel patch 'kernelPatches.export_kernel_fpu_functions."5.3"' is
still applied as I copied the list from linux_5_7 (vs. linux_testing).
This patch is probably still required for the ZFS performance.

(cherry picked from commit 19b2efb)
(cherry picked from commit fa736e1)
(cherry picked from commit 5953625)
(cherry picked from commit 4f7e011)
(cherry picked from commit 41bd44e)
@bjornfor
Copy link
Contributor Author

This actually cause some build breakage for users of linuxPackages_latest, since it gets updated from 5.6 to 5.7 (and some modules don't build on that version).

We can undo that and keep linuxPackages_latest pointed at 5.6, even though that's not the latest anymore. But I'm not sure if 1) anyone uses *_latest in the release branch and 2) if it's worth changing since it's easily fixed by doing s/linuxPackages_latest/linuxPackages_5_6/ in the user config.

I'm leaning towards "ship it as is" :-)

Copy link
Member

@vcunat vcunat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's also possible to find precedent for linuxPackages_latest major updates on stable releases.

@vcunat vcunat merged commit b154eba into NixOS:release-20.03 Jun 23, 2020
@bjornfor bjornfor deleted the backport-linux-latest-and-testing-20.03 branch June 24, 2020 07:08
@bjornfor
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants