git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "linux_4_4: remove"

This reverts commit 9f3f575ab3eb4cd6b5f8de20e6f1a5374fedef2c. Support from upstream has been extended to Feb 2022.

commit517606d1d4872c3b8b1a42796d572a7420fe1489 authorFranz Pletz <fpletz@fnordicwalking.de> dateMon 30 Oct 2017, 13:55 (9 years ago) parentf41f5a8
2 files changed+32
pkgs/os-specific/linux/kernel/linux-4.4.nix+18 pkgs/top-level/all-packages.nix+14
pkgs/os-specific/linux/kernel/linux-4.4.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
2+
3+import ./generic.nix (args // rec {
4+ version = "4.4.80";
5+ extraMeta.branch = "4.4";
6+
7+ src = fetchurl {
8+ url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9+ sha256 = "1hs07k49sbpi8yw2mdwn1967i82x4wn6kg0lbjvv5l1pv3alky1l";
10+ };
11+
12+ kernelPatches = args.kernelPatches;
13+
14+ features.iwlwifi = true;
15+ features.efiBootStub = true;
16+ features.needsCifsUtils = true;
17+ features.netfilterRPFilter = true;
18+} // (args.argsOverride or {}))
pkgs/top-level/all-packages.nix+14
@@ -12435,6 +12435,19 @@ with pkgs;
1243512435 ];
1243612436 };
1243712437
12438+ linux_4_4 = callPackage ../os-specific/linux/kernel/linux-4.4.nix {
12439+ kernelPatches =
12440+ [ kernelPatches.bridge_stp_helper
12441+ kernelPatches.p9_fixes
12442+ kernelPatches.cpu-cgroup-v2."4.4"
12443+ ]
12444+ ++ lib.optionals ((platform.kernelArch or null) == "mips")
12445+ [ kernelPatches.mips_fpureg_emu
12446+ kernelPatches.mips_fpu_sigill
12447+ kernelPatches.mips_ext3_n32
12448+ ];
12449+ };
12450+
1243812451 linux_4_9 = callPackage ../os-specific/linux/kernel/linux-4.9.nix {
1243912452 kernelPatches =
1244012453 [ kernelPatches.bridge_stp_helper
@@ -12657,6 +12670,7 @@ with pkgs;
1265712670 linuxPackages_hardened_copperhead = linuxPackagesFor pkgs.linux_hardened_copperhead;
1265812671 linuxPackages_mptcp = linuxPackagesFor pkgs.linux_mptcp;
1265912672 linuxPackages_rpi = linuxPackagesFor pkgs.linux_rpi;
12673+ linuxPackages_4_4 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_4);
1266012674 linuxPackages_4_9 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_9);
1266112675 linuxPackages_4_13 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_13);
1266212676 # Don't forget to update linuxPackages_latest!