mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #317032 from anpin/fix/lvm-thin
This commit is contained in:
commit
909f74453e
@ -25,6 +25,30 @@ rustPlatform.buildRustPackage rec {
|
||||
inherit (nixosTests.lvm2) lvm-thinpool-linux-latest;
|
||||
};
|
||||
|
||||
# required for config compatibility with configs done pre 0.9.0
|
||||
# see https://github.com/NixOS/nixpkgs/issues/317018
|
||||
postInstall = ''
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_check
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_dump
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_metadata_size
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_repair
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_restore
|
||||
ln -s $out/bin/pdata_tools $out/bin/cache_writeback
|
||||
ln -s $out/bin/pdata_tools $out/bin/era_check
|
||||
ln -s $out/bin/pdata_tools $out/bin/era_dump
|
||||
ln -s $out/bin/pdata_tools $out/bin/era_invalidate
|
||||
ln -s $out/bin/pdata_tools $out/bin/era_restore
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_check
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_delta
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_dump
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_ls
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_metadata_size
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_repair
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_restore
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_rmap
|
||||
ln -s $out/bin/pdata_tools $out/bin/thin_trim
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jthornber/thin-provisioning-tools/";
|
||||
description = "Suite of tools for manipulating the metadata of the dm-thin device-mapper target";
|
||||
|
Loading…
Reference in New Issue
Block a user