(k)vdo: 8.1.1.360 -> 8.2.0.2

This commit is contained in:
ajs124 2022-07-20 14:50:51 +02:00
parent 09bcb880ce
commit c386f8658b
3 changed files with 7 additions and 5 deletions

View file

@ -85,13 +85,15 @@ in {
systemd.initrdBin = lib.mkIf config.boot.initrd.services.lvm.enable [ pkgs.vdo ];
extraUtilsCommands = mkIf (!config.boot.initrd.systemd.enable)''
ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
ls ${pkgs.vdo}/bin/ | while read BIN; do
copy_bin_and_libs ${pkgs.vdo}/bin/$BIN
done
substituteInPlace $out/bin/vdorecover --replace "${pkgs.bash}/bin/bash" "/bin/sh"
substituteInPlace $out/bin/adaptLVMVDO.sh --replace "${pkgs.bash}/bin/bash" "/bin/sh"
'';
extraUtilsCommandsTest = mkIf (!config.boot.initrd.systemd.enable)''
ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
ls ${pkgs.vdo}/bin/ | grep -vE '(adaptLVMVDO|vdorecover)' | while read BIN; do
$out/bin/$(basename $BIN) --help > /dev/null
done
'';

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
owner = "dm-vdo";
repo = "kvdo";
rev = version;
sha256 = "1xl7dwcqx00w1gbpb6vlkn8nchyfj1fsc8c06vgda0sgxp7qs5gn";
hash = "sha256-4FYTFUIvGjea3bh2GbQYG7hSswVDdNS3S+jWQ9+inpg=";
};
dontConfigure = true;

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "vdo";
version = "8.1.1.360"; # kvdo uses this!
version = "8.2.0.2"; # kvdo uses this!
src = fetchFromGitHub {
owner = "dm-vdo";
repo = pname;
rev = version;
sha256 = "1zp8aaw0diramnlx5z96jcpbm6x0r204xf1vwq6k21rzcazczkwv";
hash = "sha256-IP/nL4jQ+rIWuUxXUiBtlIKTMZCNelvxgTfTcaB1it0=";
};
nativeBuildInputs = [