linux_latest: 5.16.14 -> 5.17
This commit is contained in:
parent
830a13399a
commit
58ae11758e
3 changed files with 29 additions and 1 deletions
18
pkgs/os-specific/linux/kernel/linux-5.17.nix
Normal file
18
pkgs/os-specific/linux/kernel/linux-5.17.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ lib, buildPackages, fetchurl, perl, buildLinux, nixosTests, modDirVersionArg ? null, ... } @ args:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
buildLinux (args // rec {
|
||||||
|
version = "5.17";
|
||||||
|
|
||||||
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
|
||||||
|
# branchVersion needs to be x.y
|
||||||
|
extraMeta.branch = versions.majorMinor version;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
|
sha256 = "sha256-VV/vYd3bWRqD1i3QTiUnkvmvS6nvFGg/ZIQORvogsbE=";
|
||||||
|
};
|
||||||
|
} // (args.argsOverride or { }))
|
|
@ -639,6 +639,7 @@ mapAliases ({
|
||||||
linuxPackages_5_10 = linuxKernel.packages.linux_5_10;
|
linuxPackages_5_10 = linuxKernel.packages.linux_5_10;
|
||||||
linuxPackages_5_15 = linuxKernel.packages.linux_5_15;
|
linuxPackages_5_15 = linuxKernel.packages.linux_5_15;
|
||||||
linuxPackages_5_16 = linuxKernel.packages.linux_5_16;
|
linuxPackages_5_16 = linuxKernel.packages.linux_5_16;
|
||||||
|
linuxPackages_5_17 = linuxKernel.packages.linux_5_17;
|
||||||
linuxPackages_5_4 = linuxKernel.packages.linux_5_4;
|
linuxPackages_5_4 = linuxKernel.packages.linux_5_4;
|
||||||
linuxPackages_hardkernel_4_14 = linuxKernel.packages.hardkernel_4_14;
|
linuxPackages_hardkernel_4_14 = linuxKernel.packages.hardkernel_4_14;
|
||||||
linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1;
|
linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1;
|
||||||
|
@ -656,6 +657,7 @@ mapAliases ({
|
||||||
linux_5_10 = linuxKernel.kernels.linux_5_10;
|
linux_5_10 = linuxKernel.kernels.linux_5_10;
|
||||||
linux_5_15 = linuxKernel.kernels.linux_5_15;
|
linux_5_15 = linuxKernel.kernels.linux_5_15;
|
||||||
linux_5_16 = linuxKernel.kernels.linux_5_16;
|
linux_5_16 = linuxKernel.kernels.linux_5_16;
|
||||||
|
linux_5_17 = linuxKernel.kernels.linux_5_17;
|
||||||
linux_5_4 = linuxKernel.kernels.linux_5_4;
|
linux_5_4 = linuxKernel.kernels.linux_5_4;
|
||||||
linux_mptcp_95 = linuxKernel.kernels.linux_mptcp_95;
|
linux_mptcp_95 = linuxKernel.kernels.linux_mptcp_95;
|
||||||
linux_rpi0 = linuxKernel.kernels.linux_rpi1;
|
linux_rpi0 = linuxKernel.kernels.linux_rpi1;
|
||||||
|
|
|
@ -166,6 +166,13 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
linux_5_17 = callPackage ../os-specific/linux/kernel/linux-5.17.nix {
|
||||||
|
kernelPatches = [
|
||||||
|
kernelPatches.bridge_stp_helper
|
||||||
|
kernelPatches.request_key_helper
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
linux_testing = let
|
linux_testing = let
|
||||||
testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -485,6 +492,7 @@ in {
|
||||||
linux_5_10 = recurseIntoAttrs (packagesFor kernels.linux_5_10);
|
linux_5_10 = recurseIntoAttrs (packagesFor kernels.linux_5_10);
|
||||||
linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
|
linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
|
||||||
linux_5_16 = recurseIntoAttrs (packagesFor kernels.linux_5_16);
|
linux_5_16 = recurseIntoAttrs (packagesFor kernels.linux_5_16);
|
||||||
|
linux_5_17 = recurseIntoAttrs (packagesFor kernels.linux_5_17);
|
||||||
};
|
};
|
||||||
|
|
||||||
rtPackages = {
|
rtPackages = {
|
||||||
|
@ -529,7 +537,7 @@ in {
|
||||||
packageAliases = {
|
packageAliases = {
|
||||||
linux_default = if stdenv.hostPlatform.isi686 then packages.linux_5_10 else packages.linux_5_15;
|
linux_default = if stdenv.hostPlatform.isi686 then packages.linux_5_10 else packages.linux_5_15;
|
||||||
# Update this when adding the newest kernel major version!
|
# Update this when adding the newest kernel major version!
|
||||||
linux_latest = packages.linux_5_16;
|
linux_latest = packages.linux_5_17;
|
||||||
linux_mptcp = packages.linux_mptcp_95;
|
linux_mptcp = packages.linux_mptcp_95;
|
||||||
linux_rt_default = packages.linux_rt_5_4;
|
linux_rt_default = packages.linux_rt_5_4;
|
||||||
linux_rt_latest = packages.linux_rt_5_10;
|
linux_rt_latest = packages.linux_rt_5_10;
|
||||||
|
|
Loading…
Reference in a new issue