Device-mapper thin provisioning tools
Go to file
Marian Csontos a9a7302d9a Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
tests Change expected result of thin_rmap test with negatine number in region 2023-08-15 09:29:11 +02:00
.device-mapper-persistent-data.metadata Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
.gitignore Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
0001-Tweak-cargo.toml-to-work-with-vendor-directory.patch Update dmpd to upstream version 1.0.9 2023-12-13 10:28:07 +01:00
0002-space-map-Fix-incorrect-index_entry.nr_free-while-ex.patch Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
0003-thin_repair-Fix-child-keys-checking-on-the-node-with.patch Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
0004-space_map-Allow-non-zero-values-in-unused-index-bloc.patch Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
0005-cache_check-Fix-boundary-check-on-the-bitset-for-cac.patch Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
0006-thin-cache_check-Print-suggestive-hints-for-improvin.patch Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:36:47 +02:00
device-mapper-persistent-data-avoid-strip.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:36:47 +02:00
device-mapper-persistent-data.spec Additional patches for 9.4.0 dmpd. 2024-02-10 01:31:28 +00:00
gating.yaml Fix gating 2021-07-23 16:15:56 +02:00
sources Update dmpd to upstream version 1.0.9 2023-12-13 10:28:07 +01:00

README.md

Packaging dmpd

This is mostly regular package except recent addition of rust to used languages.

rust-tools

To build the rust-tools (make rust-tools) one needs:

  • rust >= 1.35
  • cargo with vendor subcommand (now upstream, included in latest Fedora and RHEL8)

cargo vendpr

  • run cargo vendor in the disrectory with sources
  • run tar czf device-mapper-persistent-data-vendor-$VERSION.tar.gz ./vendor
  • copy the file (if version changed) and run the fedpkg new-sources command:
    • fedpkg new-sources v$VERSION.tar.gz device-mapper-persistent-data-vendor-$VERSION.tar.gz

TODO/NOTES

Some of the dependencies may be already packaged by Fedora. Can we instruct cargo vendor to include only those which are not provided by Fedora?

%cargo_install installs by defualt in /usr/bin but the package expects /usr/sbin. For now I run make install-rust-tools.