nixos.lvm: fix the check that the extra-tools work

This commit is contained in:
7c6f434c
2026-01-01 22:16:38 +01:00
parent 6e4f60ad36
commit 4c555645ae
+2 -1
View File
@@ -137,7 +137,8 @@ in
'';
extraUtilsCommandsTest = mkIf (!config.boot.initrd.systemd.enable) ''
ls ${pkgs.vdo}/bin/ | grep -vE '(adaptlvm|vdorecover)' | while read BIN; do
exclude='adaptlvm|vdorecover|vdocalculatesize'
ls ${pkgs.vdo}/bin/ | grep -vE "($exclude)" | while read BIN; do
$out/bin/$(basename $BIN) --help > /dev/null
done
'';