linux-copperhead: LTS based on regular 4.14
This commit is contained in:
parent
7eb169a257
commit
a444dcad03
2864
pkgs/os-specific/linux/kernel/copperhead-4-14.patch
Normal file
2864
pkgs/os-specific/linux/kernel/copperhead-4-14.patch
Normal file
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;
|
with stdenv.lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.14.48";
|
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
|
# branchVersion needs to be x.y
|
||||||
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
||||||
|
|
||||||
|
@ -28,6 +28,11 @@ rec {
|
|||||||
patch = ./tag-hardened.patch;
|
patch = ./tag-hardened.patch;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
copperhead_4_14 = rec {
|
||||||
|
name = "copperhead-4.14";
|
||||||
|
patch = ./copperhead-4-14.patch;
|
||||||
|
};
|
||||||
|
|
||||||
copperhead_4_16 = rec {
|
copperhead_4_16 = rec {
|
||||||
name = "copperhead-4.16";
|
name = "copperhead-4.16";
|
||||||
patch = ./copperhead-4-16.patch;
|
patch = ./copperhead-4-16.patch;
|
||||||
|
@ -13499,13 +13499,13 @@ with pkgs;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
linux_copperhead_lts = callPackage ../os-specific/linux/kernel/linux-copperhead-lts.nix {
|
linux_copperhead_lts = (linux_4_14.override {
|
||||||
kernelPatches = with kernelPatches; [
|
kernelPatches = linux_4_14.kernelPatches ++ [
|
||||||
bridge_stp_helper
|
kernelPatches.copperhead_4_14
|
||||||
modinst_arg_list_too_long
|
kernelPatches.tag_hardened
|
||||||
tag_hardened
|
];
|
||||||
];
|
modDirVersionArg = linux_4_14.modDirVersion + "-hardened";
|
||||||
};
|
});
|
||||||
|
|
||||||
linux_copperhead_stable = (linux_4_16.override {
|
linux_copperhead_stable = (linux_4_16.override {
|
||||||
kernelPatches = linux_4_16.kernelPatches ++ [
|
kernelPatches = linux_4_16.kernelPatches ++ [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user