git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #13909 from kragniz/linux-4.5

linux: add 4.5

commit2ac4dba0fb4d82d526ece4d99937330b428ccbf5 authorRobin Gloster <mail@glob.in> dateTue 15 Mar 2016, 18:12 (11 years ago) parentb250ac98bdee80
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
@@ -10483,6 +10483,15 @@ let
1048310483 ];
1048410484 };
1048510485
10486+ linux_4_5 = callPackage ../os-specific/linux/kernel/linux-4.5.nix {
10487+ kernelPatches = [ kernelPatches.bridge_stp_helper ]
10488+ ++ lib.optionals ((platform.kernelArch or null) == "mips")
10489+ [ kernelPatches.mips_fpureg_emu
10490+ kernelPatches.mips_fpu_sigill
10491+ kernelPatches.mips_ext3_n32
10492+ ];
10493+ };
10494+
1048610495 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1048710496 kernelPatches = [ kernelPatches.bridge_stp_helper ]
1048810497 ++ lib.optionals ((platform.kernelArch or null) == "mips")
@@ -10709,7 +10718,7 @@ let
1070910718 linux = linuxPackages.kernel;
1071010719
1071110720 # Update this when adding the newest kernel major version!
10712− linuxPackages_latest = pkgs.linuxPackages_4_4;
10721+ linuxPackages_latest = pkgs.linuxPackages_4_5;
1071310722 linux_latest = linuxPackages_latest.kernel;
1071410723
1071510724 # Build the kernel modules for the some of the kernels.
@@ -10723,6 +10732,7 @@ let
1072310732 linuxPackages_4_1 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_1 linuxPackages_4_1);
1072410733 linuxPackages_4_3 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_3 linuxPackages_4_3);
1072510734 linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4 linuxPackages_4_4);
10735+ linuxPackages_4_5 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_5 linuxPackages_4_5);
1072610736 linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
1072710737 linuxPackages_custom = {version, src, configfile}:
1072810738 let linuxPackages_self = (linuxPackagesFor (pkgs.linuxManualConfig {inherit version src configfile;