vdo: 8.2.2.2 -> 8.3.0.71

This commit is contained in:
ajs124 2024-07-08 19:03:43 +02:00
parent f5fa4e0cc8
commit 9366ef0fbd
2 changed files with 6 additions and 6 deletions

View File

@ -98,11 +98,11 @@ in {
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"
substituteInPlace $out/bin/adaptlvm --replace "${pkgs.bash}/bin/bash" "/bin/sh"
'';
extraUtilsCommandsTest = mkIf (!config.boot.initrd.systemd.enable)''
ls ${pkgs.vdo}/bin/ | grep -vE '(adaptLVMVDO|vdorecover)' | while read BIN; do
ls ${pkgs.vdo}/bin/ | grep -vE '(adaptlvm|vdorecover)' | while read BIN; do
$out/bin/$(basename $BIN) --help > /dev/null
done
'';

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "vdo";
version = "8.2.2.2";
version = "8.3.0.71";
src = fetchFromGitHub {
owner = "dm-vdo";
repo = pname;
rev = version;
hash = "sha256-+2w9jzJemI2xr+i/Jd5TIBZ/o8Zv+Ett0fbJbkOD7KI=";
hash = "sha256-FZerMUzth43p5jvKQalyYcW+mrl6SLjS8GrivY2qWkI=";
};
nativeBuildInputs = [
@ -48,8 +48,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
installShellCompletion --bash $out/bash_completion.d/*
rm -r $out/bash_completion.d
installShellCompletion --bash $out/usr/share/bash-completion/completions/*
rm -rv $out/usr
wrapPythonPrograms
'';