mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
linux-3.10: fix build by upstream patch
This commit is contained in:
parent
7c7e88b45e
commit
ff5cf3abff
2 changed files with 10 additions and 1 deletions
|
@ -139,4 +139,13 @@ rec {
|
|||
};
|
||||
|
||||
cpu-cgroup-v2 = import ./cpu-cgroup-v2-patches;
|
||||
|
||||
lguest_entry-linkage =
|
||||
{ name = "lguest-asmlinkage.patch";
|
||||
patch = fetchpatch {
|
||||
url = "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git"
|
||||
+ "/patch/drivers/lguest/x86/core.c?id=cdd77e87eae52";
|
||||
sha256 = "04xlx6al10cw039av6jkby7gx64zayj8m1k9iza40sw0fydcfqhc";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10674,7 +10674,7 @@ in
|
|||
};
|
||||
|
||||
linux_3_10 = callPackage ../os-specific/linux/kernel/linux-3.10.nix {
|
||||
kernelPatches = with kernelPatches; [ bridge_stp_helper ]
|
||||
kernelPatches = with kernelPatches; [ bridge_stp_helper lguest_entry-linkage ]
|
||||
++ lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
[ kernelPatches.mips_fpureg_emu
|
||||
kernelPatches.mips_fpu_sigill
|
||||
|
|
Loading…
Reference in a new issue