git.iko.soy/typeable/nixpkgs
on master help sign in
linux: add 4.5
commit8bdee80d3927e32bb39630c3993fcf8fd61af950 authorLouis Taylor <louis@kragniz.eu> dateMon 14 Mar 2016, 06:17 (11 years ago) parent81fe3eb
2 files changed+31−1
pkgs/os-specific/linux/kernel/linux-4.5.nix+20 pkgs/top-level/all-packages.nix+11−1
pkgs/os-specific/linux/kernel/linux-4.5.nixnew file+20
@@ -0,0 +1,20 @@
1+{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
2+
3+import ./generic.nix (args // rec {
4+ version = "4.5";
5+ modDirVersion = "4.5.0";
6+ extraMeta.branch = "4.5";
7+
8+ src = fetchurl {
9+ url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
10+ sha256 = "172i3arrc34mb7nxw31iqrmbwrdnp8dmrbf8p3b3f6z006sfy3d4";
11+ };
12+
13+ kernelPatches = args.kernelPatches;
14+
15+ features.iwlwifi = true;
16+ features.efiBootStub = true;
17+ features.needsCifsUtils = true;
18+ features.canDisableNetfilterConntrackHelpers = true;
19+ features.netfilterRPFilter = true;
20+} // (args.argsOverride or {}))
pkgs/top-level/all-packages.nix+11−1
@@ -10274,6 +10274,15 @@ let
1027410274 ];
1027510275 };
1027610276
10277+ linux_4_5 = callPackage ../os-specific/linux/kernel/linux-4.5.nix {
10278+ kernelPatches = [ kernelPatches.bridge_stp_helper ]
10279+ ++ lib.optionals ((platform.kernelArch or null) == "mips")
10280+ [ kernelPatches.mips_fpureg_emu
10281+ kernelPatches.mips_fpu_sigill
10282+ kernelPatches.mips_ext3_n32
10283+ ];
10284+ };
10285+
1027710286 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1027810287 kernelPatches = [ kernelPatches.bridge_stp_helper ]
1027910288 ++ lib.optionals ((platform.kernelArch or null) == "mips")
@@ -10453,7 +10462,7 @@ let
1045310462 linux = linuxPackages.kernel;
1045410463
1045510464 # Update this when adding the newest kernel major version!
10456− linuxPackages_latest = pkgs.linuxPackages_4_4;
10465+ linuxPackages_latest = pkgs.linuxPackages_4_5;
1045710466 linux_latest = linuxPackages_latest.kernel;
1045810467
1045910468 # Build the kernel modules for the some of the kernels.
@@ -10467,6 +10476,7 @@ let
1046710476 linuxPackages_4_1 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_1 linuxPackages_4_1);
1046810477 linuxPackages_4_3 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_3 linuxPackages_4_3);
1046910478 linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4 linuxPackages_4_4);
10479+ linuxPackages_4_5 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_5 linuxPackages_4_5);
1047010480 linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
1047110481 linuxPackages_custom = {version, src, configfile}:
1047210482 let linuxPackages_self = (linuxPackagesFor (pkgs.linuxManualConfig {inherit version src configfile;