mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
linux_5_4_hardened: mark as broken
Smoketest fails with machine # [ 3.785769] systemd[1]: dev-hugepages.mount: Failed to spawn executor: Argument list too long machine # [ 3.788689] systemd[1]: dev-hugepages.mount: Failed to spawn 'mount' task: Argument list too long machine # [ 3.790100] systemd[1]: dev-hugepages.mount: Failed with result 'resources'. machine # [ 3.791572] systemd[1]: Failed to mount Huge Pages File System.
This commit is contained in:
parent
904a34e89b
commit
62c09a3647
@ -26,6 +26,10 @@ let
|
||||
linux = kernel;
|
||||
};
|
||||
|
||||
markBroken = drv: drv.overrideAttrs ({ meta ? {}, ... }: {
|
||||
meta = meta // { broken = true; };
|
||||
});
|
||||
|
||||
# Hardened Linux
|
||||
hardenedKernelFor = kernel': overrides:
|
||||
let
|
||||
@ -259,10 +263,10 @@ in {
|
||||
|
||||
linux_hardened = hardenedKernelFor packageAliases.linux_default.kernel { };
|
||||
|
||||
linux_5_4_hardened = hardenedKernelFor kernels.linux_5_4 {
|
||||
linux_5_4_hardened = markBroken (hardenedKernelFor kernels.linux_5_4 {
|
||||
stdenv = gcc10Stdenv;
|
||||
buildPackages = buildPackages // { stdenv = buildPackages.gcc10Stdenv; };
|
||||
};
|
||||
});
|
||||
linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
|
||||
linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
|
||||
linux_6_1_hardened = hardenedKernelFor kernels.linux_6_1 { };
|
||||
|
Loading…
Reference in New Issue
Block a user