diff --git a/package/linux-hardened/package.nix b/package/linux-hardened/package.nix index 1d98bce..edddaa0 100644 --- a/package/linux-hardened/package.nix +++ b/package/linux-hardened/package.nix @@ -139,6 +139,8 @@ in stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs scripts/ + + sed -i '/select BLOCK_LEGACY_AUTOLOAD/d' drivers/md/Kconfig ''; preConfigure = ''