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

openafs_1_8: Add upstream patches for Linux kernel 5.7 #91695

wants to merge 1 commit into from


Copy link

andersk commented Jun 27, 2020

Motivation for this change

These patches are necessary to build the OpenAFS module with kernel 5.7. They’re all taken from the upstream openafs-stable-1_8_x branch.

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"
    • Succeeded: linuxPackages-libre.openafs_1_8 linuxPackages.openafs_1_8 linuxPackages_4_14.openafs_1_8 linuxPackages_4_19.openafs_1_8 linuxPackages_4_4.openafs_1_8 linuxPackages_4_9.openafs_1_8 linuxPackages_5_6.openafs_1_8 linuxPackages_5_7.openafs_1_8 linuxPackages_latest-libre.openafs_1_8 linuxPackages_latest_xen_dom0.openafs_1_8 linuxPackages_testing_bcachefs.openafs_1_8 linuxPackages_xen_dom0.openafs_1_8

      Failed: linuxPackages_hardened.openafs_1_8 linuxPackages_latest_hardened.openafs_1_8 linuxPackages_latest_xen_dom0_hardened.openafs_1_8 linuxPackages_xen_dom0_hardened.openafs_1_8

      (The incompatibility with the hardened variant is not a regression.)

  • Tested execution of all binary files (usually in ./result/bin/)
    • (There are none, this is a kernelspace-only change.)
  • 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

Cc @Mic92

These are all taken from the upstream openafs-stable-1_8_x branch.

Signed-off-by: Anders Kaseorg <>
Copy link

Mic92 commented Jun 30, 2020

Should be no longer necessary due to #84968

@Mic92 Mic92 closed this Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.