Device-mapper thin provisioning tools
Go to file
2022-06-22 16:01:05 +02:00
tests Fix gating 2021-07-23 16:15:56 +02:00
.gitignore Fix FTBFS due to updated rust compiler 2021-07-22 12:58:35 +02:00
0001-all-Fix-resource-leaks.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0001-Update-dependencies.patch Fix FTBFS due to updated rust compiler 2021-07-22 12:58:35 +02:00
0002-thin_show_metadata-Fix-out-of-bounds-access.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0003-build-Fix-customized-emitter-linkage.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0004-thin_dump-Fix-leaked-shared-object-handle.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0005-thin_show_duplicates-Fix-potential-errors.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0006-thin_metadata_size-Fix-potential-string-overflow.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0007-all-Fix-uninitialized-class-members.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0008-thin_dump-Fix-warnings-on-potential-NULL-pointer.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0009-build-Remove-unused-sources-from-the-regular-build.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0010-all-Remove-unreachable-code.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0011-file_utils-Fix-resource-leak.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0012-thin_delta-Clean-up-duplicated-code.patch Fix issues found by static analysis. 2021-06-07 16:15:19 +02:00
0013-build-Remove-lboost_iostreams-linker-flag.patch Fix FTBFS due to updated rust compiler 2021-07-22 12:58:35 +02:00
0014-cargo-update.patch Fix FTBFS due to updated rust compiler 2021-07-22 12:58:35 +02:00
0015-thin-Clear-superblock-flags-in-restored-metadata.patch Addiitonal patches for 9.0.0 dmpd 2021-11-05 22:26:12 +01:00
0016-thin_repair-thin_dump-Fix-sorting-of-data-mapping-ca.patch Addiitonal patches for 9.0.0 dmpd 2021-11-05 22:26:12 +01:00
0017-thin_repair-thin_dump-Change-the-label-type-for-empt.patch Addiitonal patches for 9.0.0 dmpd 2021-11-05 22:26:12 +01:00
0018-thin_repair-thin_dump-Check-consistency-of-thin_ids-.patch Addiitonal patches for 9.0.0 dmpd 2021-11-05 22:26:12 +01:00
0019-thin_check-Allow-using-clear-needs-check-and-skip-ma.patch Additional patch for 9.0.0 dmpd 2021-12-10 15:50:41 +01:00
0020-thin_repair-thin_dump-Exclude-unwanted-btree-nodes.patch Additional patch for 9.1.0 dmpd 2022-06-22 16:01:05 +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 patch for 9.1.0 dmpd 2022-06-22 16:01:05 +02:00
gating.yaml Fix gating 2021-07-23 16:15:56 +02:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:36:47 +02:00
sources Fix FTBFS due to updated rust compiler 2021-07-22 12:58:35 +02:00

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.