mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
[24.05] Backport latest kernel updates (#356944)
This commit is contained in:
commit
7c1f6ab58f
@ -4,31 +4,35 @@
|
||||
"hash": "sha256:1rsglb7zwbn4f6wv4g95jl8ra1wbs03k7xyfdlmwzl3vgzx3bnzv"
|
||||
},
|
||||
"6.1": {
|
||||
"version": "6.1.117",
|
||||
"hash": "sha256:12vqj3iqf6kg6lc34lf4zjhw4r0sszxfwd0xlbv3njlpj7kgzyx8"
|
||||
"version": "6.1.118",
|
||||
"hash": "sha256:0k12d4l03ziiba1b4f6jfxv5ir0lrd6kshlasr62rhv1f6yq81q1"
|
||||
},
|
||||
"5.15": {
|
||||
"version": "5.15.172",
|
||||
"hash": "sha256:0kc46gniifn2jbj4w58bh2kvpja4vl7q0yxn538cic6115c298pg"
|
||||
"version": "5.15.173",
|
||||
"hash": "sha256:1a3x3ld6g7ny0hdfqfvj5j2i5sx5l5p236pdnsr0icn9ri3jljwa"
|
||||
},
|
||||
"5.10": {
|
||||
"version": "5.10.229",
|
||||
"hash": "sha256:1q6di05rk4bsy91r03zw6vz14zzcpvv25dv7gw0yz1gzpgkbb9h8"
|
||||
"version": "5.10.230",
|
||||
"hash": "sha256:0isbb0ixqg4yzlh3lmdvnax4m1ikf2q4wk0b9vgqc63p7gpm066d"
|
||||
},
|
||||
"5.4": {
|
||||
"version": "5.4.285",
|
||||
"hash": "sha256:1722sc365ajxmqyr4r49yp73mzdckay3rx5c2gx29xzny9zc6cmy"
|
||||
"version": "5.4.286",
|
||||
"hash": "sha256:0z48n7vahg318bgkccy8xqgl87vfb8zmn995cqh7z38fvzrm81qq"
|
||||
},
|
||||
"4.19": {
|
||||
"version": "4.19.322",
|
||||
"hash": "sha256:0qj106lj554y1kdqj8kwyf7pk9bvrrpgz6s8zyh7d61mk7wws9sf"
|
||||
},
|
||||
"6.6": {
|
||||
"version": "6.6.61",
|
||||
"hash": "sha256:02vw0jphzqj8cd5apf8wbjp2wahwcnvw6vchv4z1q3qrz56w53s1"
|
||||
"version": "6.6.62",
|
||||
"hash": "sha256:0dlkgph6chvqrask746wjijqp62vmvrp3n2dkldr8d2mfw8mdhz2"
|
||||
},
|
||||
"6.11": {
|
||||
"version": "6.11.8",
|
||||
"hash": "sha256:0g9wz6dqbq9h5yiiz8sdma4k1cmr4n2sxzvhrsz2090mzr2ais5f"
|
||||
"version": "6.11.9",
|
||||
"hash": "sha256:1d44yfk105bsf9f853f2fpnzqd0xbqn8drg1dv4ri5dxldx8lrbm"
|
||||
},
|
||||
"6.12": {
|
||||
"version": "6.12",
|
||||
"hash": "sha256:1sr58vsh39hdwk0z27lg14isqwn4g8m4r7a8z2rsyhkfwlmmd8mi"
|
||||
}
|
||||
}
|
||||
|
@ -150,6 +150,10 @@ let
|
||||
|
||||
RUST_LIB_SRC = lib.optionalString withRust rustPlatform.rustLibSrc;
|
||||
|
||||
# avoid leaking Rust source file names into the final binary, which adds
|
||||
# a false dependency on rust-lib-src on targets with uncompressed kernels
|
||||
KRUSTFLAGS = lib.optionalString withRust "--remap-path-prefix ${rustPlatform.rustLibSrc}=/";
|
||||
|
||||
patches =
|
||||
map (p: p.patch) kernelPatches
|
||||
# Required for deterministic builds along with some postPatch magic.
|
||||
|
@ -709,6 +709,7 @@ mapAliases ({
|
||||
linuxPackages_6_9 = linuxKernel.packages.linux_6_9;
|
||||
linuxPackages_6_10 = linuxKernel.packages.linux_6_10;
|
||||
linuxPackages_6_11 = linuxKernel.packages.linux_6_11;
|
||||
linuxPackages_6_12 = linuxKernel.packages.linux_6_12;
|
||||
linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1;
|
||||
linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3;
|
||||
linuxPackages_rpi1 = linuxKernel.packages.linux_rpi1;
|
||||
@ -739,6 +740,7 @@ mapAliases ({
|
||||
linux_6_9 = linuxKernel.kernels.linux_6_9;
|
||||
linux_6_10 = linuxKernel.kernels.linux_6_10;
|
||||
linux_6_11 = linuxKernel.kernels.linux_6_11;
|
||||
linux_6_12 = linuxKernel.kernels.linux_6_12;
|
||||
linux_rpi0 = linuxKernel.kernels.linux_rpi1;
|
||||
linux_rpi02w = linuxKernel.kernels.linux_rpi3;
|
||||
linux_rpi1 = linuxKernel.kernels.linux_rpi1;
|
||||
|
@ -197,6 +197,14 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
linux_6_12 = callPackage ../os-specific/linux/kernel/mainline.nix {
|
||||
branch = "6.12";
|
||||
kernelPatches = [
|
||||
kernelPatches.bridge_stp_helper
|
||||
kernelPatches.request_key_helper
|
||||
];
|
||||
};
|
||||
|
||||
linux_testing = let
|
||||
testing = callPackage ../os-specific/linux/kernel/mainline.nix {
|
||||
# A special branch that tracks the kernel under the release process
|
||||
@ -615,6 +623,7 @@ in {
|
||||
linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1);
|
||||
linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6);
|
||||
linux_6_11 = recurseIntoAttrs (packagesFor kernels.linux_6_11);
|
||||
linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12);
|
||||
__attrsFailEvaluation = true;
|
||||
} // lib.optionalAttrs config.allowAliases {
|
||||
linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08
|
||||
@ -688,7 +697,7 @@ in {
|
||||
packageAliases = {
|
||||
linux_default = packages.linux_6_6;
|
||||
# Update this when adding the newest kernel major version!
|
||||
linux_latest = packages.linux_6_11;
|
||||
linux_latest = packages.linux_6_12;
|
||||
linux_mptcp = throw "'linux_mptcp' has been moved to https://github.com/teto/mptcp-flake";
|
||||
linux_rt_default = packages.linux_rt_5_15;
|
||||
linux_rt_latest = packages.linux_rt_6_6;
|
||||
|
Loading…
Reference in New Issue
Block a user