nixos/tests/lvm2: don't try to add script from vdo to initrd

This commit is contained in:
ajs124 2022-02-13 15:41:14 +01:00
parent 29350716d4
commit 6a8face381

View file

@ -72,13 +72,13 @@ in {
kernelModules = [ "kvdo" ]; kernelModules = [ "kvdo" ];
extraUtilsCommands = '' extraUtilsCommands = ''
for BIN in ${pkgs.vdo}/bin/*; do ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
copy_bin_and_libs $BIN copy_bin_and_libs ${pkgs.vdo}/bin/$BIN
done done
''; '';
extraUtilsCommandsTest = '' extraUtilsCommandsTest = ''
ls ${pkgs.vdo}/bin/ | while read BIN; do ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
$out/bin/$(basename $BIN) --help > /dev/null $out/bin/$(basename $BIN) --help > /dev/null
done done
''; '';