linux-copperhead: LTS based on regular 4.14

wip/yesman
Tim Steinbach 6 years ago
parent 7eb169a257
commit a444dcad03
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA
  1. 2864
      pkgs/os-specific/linux/kernel/copperhead-4-14.patch
  2. 5
      pkgs/os-specific/linux/kernel/linux-4.14.nix
  3. 5
      pkgs/os-specific/linux/kernel/patches.nix
  4. 14
      pkgs/top-level/all-packages.nix

File diff suppressed because it is too large Load Diff

@ -1,10 +1,13 @@
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
with stdenv.lib;
buildLinux (args // rec {
version = "4.14.48";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

@ -28,6 +28,11 @@ rec {
patch = ./tag-hardened.patch;
};
copperhead_4_14 = rec {
name = "copperhead-4.14";
patch = ./copperhead-4-14.patch;
};
copperhead_4_16 = rec {
name = "copperhead-4.16";
patch = ./copperhead-4-16.patch;

@ -13499,13 +13499,13 @@ with pkgs;
];
};
linux_copperhead_lts = callPackage ../os-specific/linux/kernel/linux-copperhead-lts.nix {
kernelPatches = with kernelPatches; [
bridge_stp_helper
modinst_arg_list_too_long
tag_hardened
];
};
linux_copperhead_lts = (linux_4_14.override {
kernelPatches = linux_4_14.kernelPatches ++ [
kernelPatches.copperhead_4_14
kernelPatches.tag_hardened
];
modDirVersionArg = linux_4_14.modDirVersion + "-hardened";
});
linux_copperhead_stable = (linux_4_16.override {
kernelPatches = linux_4_16.kernelPatches ++ [

Loading…
Cancel
Save