diff options
Diffstat (limited to 'meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb')
-rw-r--r-- | meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb new file mode 100644 index 000000000..11b586618 --- /dev/null +++ b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "Tools of dm-thin device-mapper" | ||
2 | DESCRIPTION = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target." | ||
3 | HOMEPAGE = "https://github.com/jthornber/thin-provisioning-tools" | ||
4 | LICENSE = "GPL-3.0-only" | ||
5 | SECTION = "devel" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | SRC_URI = " \ | ||
11 | git://github.com/jthornber/thin-provisioning-tools;branch=main;protocol=https \ | ||
12 | " | ||
13 | |||
14 | SRCREV = "b2d57dad4c3378544d7b36f3fc61e60989c5c092" | ||
15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
16 | |||
17 | inherit cargo cargo-update-recipe-crates | ||
18 | |||
19 | require ${BPN}-crates.inc | ||
20 | require ${BPN}-git-crates.inc | ||
21 | |||
22 | do_install:append() { | ||
23 | for tool in cache_check \ | ||
24 | cache_dump \ | ||
25 | cache_metadata_size \ | ||
26 | cache_repair \ | ||
27 | cache_restore \ | ||
28 | cache_writeback \ | ||
29 | thin_check \ | ||
30 | thin_delta \ | ||
31 | thin_dump \ | ||
32 | thin_ls \ | ||
33 | thin_repair \ | ||
34 | thin_restore \ | ||
35 | thin_rmap \ | ||
36 | thin_metadata_size \ | ||
37 | thin_metadata_pack \ | ||
38 | thin_metadata_unpack \ | ||
39 | thin_trim \ | ||
40 | era_check \ | ||
41 | era_dump \ | ||
42 | era_invalidate \ | ||
43 | era_restore; do | ||
44 | ln -sf pdata_tools ${D}${bindir}/$tool | ||
45 | done | ||
46 | } | ||