Add linux 4.11
This commit is contained in:
parent
4099450bea
commit
207a0af06a
19
pkgs/os-specific/linux/kernel/linux-4.11.nix
Normal file
19
pkgs/os-specific/linux/kernel/linux-4.11.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
|
import ./generic.nix (args // rec {
|
||||||
|
version = "4.11";
|
||||||
|
extraMeta.branch = "4.11";
|
||||||
|
modDirVersion = "4.11.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
|
sha256 = "b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6";
|
||||||
|
};
|
||||||
|
|
||||||
|
kernelPatches = args.kernelPatches;
|
||||||
|
|
||||||
|
features.iwlwifi = true;
|
||||||
|
features.efiBootStub = true;
|
||||||
|
features.needsCifsUtils = true;
|
||||||
|
features.netfilterRPFilter = true;
|
||||||
|
} // (args.argsOverride or {}))
|
@ -11746,6 +11746,23 @@ with pkgs;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
linux_4_11 = callPackage ../os-specific/linux/kernel/linux-4.11.nix {
|
||||||
|
kernelPatches =
|
||||||
|
[ kernelPatches.bridge_stp_helper
|
||||||
|
kernelPatches.p9_fixes
|
||||||
|
# See pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
|
||||||
|
# when adding a new linux version
|
||||||
|
# !!! 4.7 patch doesn't apply, 4.9 patch not up yet, will keep checking
|
||||||
|
# kernelPatches.cpu-cgroup-v2."4.7"
|
||||||
|
kernelPatches.modinst_arg_list_too_long
|
||||||
|
]
|
||||||
|
++ lib.optionals ((platform.kernelArch or null) == "mips")
|
||||||
|
[ kernelPatches.mips_fpureg_emu
|
||||||
|
kernelPatches.mips_fpu_sigill
|
||||||
|
kernelPatches.mips_ext3_n32
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
kernelPatches.bridge_stp_helper
|
kernelPatches.bridge_stp_helper
|
||||||
@ -11914,7 +11931,7 @@ with pkgs;
|
|||||||
linux = linuxPackages.kernel;
|
linux = linuxPackages.kernel;
|
||||||
|
|
||||||
# Update this when adding the newest kernel major version!
|
# Update this when adding the newest kernel major version!
|
||||||
linuxPackages_latest = linuxPackages_4_10;
|
linuxPackages_latest = linuxPackages_4_11;
|
||||||
linux_latest = linuxPackages_latest.kernel;
|
linux_latest = linuxPackages_latest.kernel;
|
||||||
|
|
||||||
# Build the kernel modules for the some of the kernels.
|
# Build the kernel modules for the some of the kernels.
|
||||||
@ -11924,6 +11941,7 @@ with pkgs;
|
|||||||
linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4);
|
linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4);
|
||||||
linuxPackages_4_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_9);
|
linuxPackages_4_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_9);
|
||||||
linuxPackages_4_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_10);
|
linuxPackages_4_10 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_10);
|
||||||
|
linuxPackages_4_11 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_11);
|
||||||
# Don't forget to update linuxPackages_latest!
|
# Don't forget to update linuxPackages_latest!
|
||||||
|
|
||||||
# Intentionally lacks recurseIntoAttrs, as -rc kernels will quite likely break out-of-tree modules and cause failed Hydra builds.
|
# Intentionally lacks recurseIntoAttrs, as -rc kernels will quite likely break out-of-tree modules and cause failed Hydra builds.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user