From 3f65d72ca60a6b205cc151ea82c929460e83e6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 4 Nov 2025 17:32:46 +0100 Subject: [PATCH] disko/tests: silence mdadm tests --- lib/tests.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tests.nix b/lib/tests.nix index d0cba72..6dcf6c8 100644 --- a/lib/tests.nix +++ b/lib/tests.nix @@ -181,6 +181,9 @@ let }; boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms + # Silence mdadm warning about missing MAILADDR or PROGRAM + boot.swraid.mdadmConf = "PROGRAM ${pkgs.coreutils}/bin/true"; + # grub will install to these devices, we need to force those or we are offset by 1 # we use mkOveride 70, so that users can override this with mkForce in case they are testing grub mirrored boots boot.loader.grub.devices = lib.mkOverride 70 testConfigInstall.boot.loader.grub.devices;