mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
linux-hardkernel: Init at 4.14.47-139 (#41782)
This commit is contained in:
parent
0f22d08e4f
commit
07e8402ed4
19
pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
Normal file
19
pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, libelf, utillinux, ... } @ args:
|
||||||
|
|
||||||
|
buildLinux (args // rec {
|
||||||
|
version = "4.14.47-139";
|
||||||
|
|
||||||
|
# modDirVersion needs to be x.y.z.
|
||||||
|
modDirVersion = "4.14.47";
|
||||||
|
|
||||||
|
# branchVersion needs to be x.y.
|
||||||
|
extraMeta.branch = "4.14";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hardkernel";
|
||||||
|
repo = "linux";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0jjgrmvi1h8zs8snnvghnjd422yfmn7jv9y1n7xikmfv4nvwqrkv";
|
||||||
|
};
|
||||||
|
|
||||||
|
} // (args.argsOverride or {}))
|
@ -13653,6 +13653,13 @@ with pkgs;
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
linux_hardkernel_4_14 = callPackage ../os-specific/linux/kernel/linux-hardkernel-4.14.nix {
|
||||||
|
kernelPatches = [
|
||||||
|
kernelPatches.bridge_stp_helper
|
||||||
|
kernelPatches.modinst_arg_list_too_long
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
/* Linux kernel modules are inherently tied to a specific kernel. So
|
/* Linux kernel modules are inherently tied to a specific kernel. So
|
||||||
rather than provide specific instances of those packages for a
|
rather than provide specific instances of those packages for a
|
||||||
specific kernel, we have a function that builds those packages
|
specific kernel, we have a function that builds those packages
|
||||||
@ -13876,6 +13883,11 @@ with pkgs;
|
|||||||
linuxPackages_samus_latest = linuxPackages_samus_4_12;
|
linuxPackages_samus_latest = linuxPackages_samus_4_12;
|
||||||
linux_samus_latest = linuxPackages_samus_latest.kernel;
|
linux_samus_latest = linuxPackages_samus_latest.kernel;
|
||||||
|
|
||||||
|
# Hardkernel (Odroid) kernels.
|
||||||
|
linuxPackages_hardkernel_4_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_hardkernel_4_14);
|
||||||
|
linuxPackages_hardkernel_latest = linuxPackages_hardkernel_4_14;
|
||||||
|
linux_hardkernel_latest = linuxPackages_hardkernel_latest.kernel;
|
||||||
|
|
||||||
# A function to build a manually-configured kernel
|
# A function to build a manually-configured kernel
|
||||||
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});
|
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user