From dbcf2bdbfaf3373ccf7eb239582e8d886d59a1ef Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 31 Oct 2024 20:39:33 +0100 Subject: [PATCH] linux-hardened: Remove dependency on legacy block device autoloading --- package/linux-hardened/package.nix | 2 ++ 1 file changed, 2 insertions(+) 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 = ''