mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
vdo: 8.2.2.2 -> 8.3.0.71
This commit is contained in:
parent
f5fa4e0cc8
commit
9366ef0fbd
2 changed files with 6 additions and 6 deletions
|
@ -98,11 +98,11 @@ in {
|
||||||
copy_bin_and_libs ${pkgs.vdo}/bin/$BIN
|
copy_bin_and_libs ${pkgs.vdo}/bin/$BIN
|
||||||
done
|
done
|
||||||
substituteInPlace $out/bin/vdorecover --replace "${pkgs.bash}/bin/bash" "/bin/sh"
|
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)''
|
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
|
$out/bin/$(basename $BIN) --help > /dev/null
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "vdo";
|
pname = "vdo";
|
||||||
version = "8.2.2.2";
|
version = "8.3.0.71";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dm-vdo";
|
owner = "dm-vdo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-+2w9jzJemI2xr+i/Jd5TIBZ/o8Zv+Ett0fbJbkOD7KI=";
|
hash = "sha256-FZerMUzth43p5jvKQalyYcW+mrl6SLjS8GrivY2qWkI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -48,8 +48,8 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash $out/bash_completion.d/*
|
installShellCompletion --bash $out/usr/share/bash-completion/completions/*
|
||||||
rm -r $out/bash_completion.d
|
rm -rv $out/usr
|
||||||
|
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue