Files
Wang Mingyu 5c016c4c5b thin-provisioning-tools: upgrade 1.0.12 -> 1.0.13
Changelog:
==========
- Extend cache_check --clear-needs-check-flag to fix leaked blocks
- Suppress error messages from cache/era_dump on broken pipe error
- Add BTreeIterator
- Support listing the highest mapped block in thin_ls
- Support repairing device details tree from thin_repair
- Support vectored write in SyncIoEngine
- Fix missing version option in thin_explore
- Fix subcommand parsing in dev-tools

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-15 16:36:15 -07:00

53 lines
1.3 KiB
BlitzBasic

SUMMARY = "Tools of dm-thin device-mapper"
DESCRIPTION = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target."
HOMEPAGE = "https://github.com/jthornber/thin-provisioning-tools"
LICENSE = "GPL-3.0-only"
SECTION = "devel"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
S = "${WORKDIR}/git"
SRC_URI = " \
git://github.com/jthornber/thin-provisioning-tools;branch=main;protocol=https \
"
SRCREV = "116c05345bed5fe727992c3458311606d5443ff6"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
inherit cargo cargo-update-recipe-crates
require ${BPN}-crates.inc
require ${BPN}-git-crates.inc
do_install:append() {
install -d ${D}${sbindir}
mv ${D}${bindir}/pdata_tools ${D}${sbindir}/pdata_tools
rmdir --ignore-fail-on-non-empty ${D}${bindir}
for tool in cache_check \
cache_dump \
cache_metadata_size \
cache_repair \
cache_restore \
cache_writeback \
thin_check \
thin_delta \
thin_dump \
thin_ls \
thin_metadata_size \
thin_metadata_pack \
thin_metadata_unpack \
thin_repair \
thin_restore \
thin_rmap \
thin_shrink \
thin_trim \
era_check \
era_dump \
era_invalidate \
era_repair \
era_restore; do
ln -sf pdata_tools ${D}${sbindir}/$tool
done
}