nixos.lvm: fix the check that the extra-tools work (#476037)

This commit is contained in:
7c6f434c
2026-01-06 15:20:39 +00:00
committed by GitHub
+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
'';