mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
kernel: Add 4.0 and fix grsecurity message
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "3.19.7";
|
||||
# Remember to update grsecurity!
|
||||
extraMeta.branch = "3.19";
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.0.2";
|
||||
# Remember to update grsecurity!
|
||||
extraMeta.branch = "4.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
@@ -8307,6 +8307,15 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
linux_4_0 = makeOverridable (import ../os-specific/linux/kernel/linux-4.0.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
[ kernelPatches.mips_fpureg_emu
|
||||
kernelPatches.mips_fpu_sigill
|
||||
kernelPatches.mips_ext3_n32
|
||||
];
|
||||
};
|
||||
|
||||
linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
@@ -8452,8 +8461,8 @@ let
|
||||
linuxPackages = linuxPackages_3_14;
|
||||
|
||||
# Update this when adding the newest kernel major version!
|
||||
linux_latest = pkgs.linux_3_19;
|
||||
linuxPackages_latest = pkgs.linuxPackages_3_19;
|
||||
linux_latest = linuxPackages_latest.kernel;
|
||||
linuxPackages_latest = pkgs.linuxPackages_4_0;
|
||||
|
||||
# Build the kernel modules for the some of the kernels.
|
||||
linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 linuxPackages_3_2);
|
||||
@@ -8465,6 +8474,7 @@ let
|
||||
linuxPackages_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_14 linuxPackages_3_14);
|
||||
linuxPackages_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_18 linuxPackages_3_18);
|
||||
linuxPackages_3_19 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_19 linuxPackages_3_19);
|
||||
linuxPackages_4_0 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_0 linuxPackages_4_0);
|
||||
linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
|
||||
|
||||
# grsecurity flavors
|
||||
|
||||
Reference in New Issue
Block a user