nixos/tests/lvm2: don't try to add script from vdo to initrd
This commit is contained in:
parent
29350716d4
commit
6a8face381
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue