thin-provisioning-tools: add version 0.6.3

It is required by lvm2, since lvm2 could find modprobe correctly
------
|lvm lvchange -a y --config  devices { preferred_names=["^/dev/mapper/",
"^/dev/md/", "^/dev/sd"] }  wrl/pool00
|/usr/sbin/thin_check: execvp failed: No such file or directory
| Check of pool wrl/pool00 failed (status:2). Manual repair required!
------

The thin-provisioning-tools provides /usr/sbin/thin_check.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Hongxu Jia
2016-08-31 12:15:57 -04:00
committed by Martin Jansa
parent 2e386b7c09
commit 038a6e7847
3 changed files with 52 additions and 1 deletions
+1 -1
View File
@@ -66,6 +66,6 @@ TARGET_CC_ARCH += "${LDFLAGS}"
FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev"
FILES_${PN}-dbg += "${libdir}/device-mapper/.debug"
RDEPENDS_${PN} = "bash"
RDEPENDS_${PN} = "bash thin-provisioning-tools"
CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf"
@@ -0,0 +1,33 @@
From e8be402e20cbdfbd8192a171ac9904d9362103bf Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed, 31 Aug 2016 01:35:40 -0400
Subject: [PATCH] do not strip pdata_tools at do_install
It caused QA Issue:
--------------
|ERROR: QA Issue: File '/usr/sbin/pdata_tools' from thin-provisioning-tools
was already stripped, this will prevent future debugging! [already-stripped]
--------------
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
Makefile.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 4264191..ac22042 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -189,7 +189,6 @@ distclean: clean
install: bin/pdata_tools
$(INSTALL_DIR) $(BINDIR)
$(INSTALL_PROGRAM) bin/pdata_tools $(BINDIR)
- $(STRIP) $(BINDIR)/pdata_tools
ln -s -f pdata_tools $(BINDIR)/cache_check
ln -s -f pdata_tools $(BINDIR)/cache_dump
ln -s -f pdata_tools $(BINDIR)/cache_metadata_size
--
2.8.1
@@ -0,0 +1,18 @@
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 = "GPLv3"
SECTION = "devel"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/jthornber/thin-provisioning-tools \
file://0001-do-not-strip-pdata_tools-at-do_install.patch \
"
SRCREV = "49bfc12e9c7956c1ac134b24afbe1a6a602ce7d5"
DEPENDS += "expat libaio boost"
inherit autotools-brokensep