diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-08-31 12:15:57 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:30:53 +0200 |
commit | 038a6e7847a9dc65cf372fbf9c85c21e6d8d7366 (patch) | |
tree | a2ca8ff9e098439c385ad68564b5e8b1e0c9baca /meta-oe/recipes-support/thin-provisioning-tools | |
parent | 2e386b7c091018bf461fd78ce41c09cd1e2d2e1b (diff) | |
download | meta-openembedded-038a6e7847a9dc65cf372fbf9c85c21e6d8d7366.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/thin-provisioning-tools')
2 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/files/0001-do-not-strip-pdata_tools-at-do_install.patch b/meta-oe/recipes-support/thin-provisioning-tools/files/0001-do-not-strip-pdata_tools-at-do_install.patch new file mode 100644 index 000000000..b4cdda132 --- /dev/null +++ b/meta-oe/recipes-support/thin-provisioning-tools/files/0001-do-not-strip-pdata_tools-at-do_install.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From e8be402e20cbdfbd8192a171ac9904d9362103bf Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Wed, 31 Aug 2016 01:35:40 -0400 | ||
4 | Subject: [PATCH] do not strip pdata_tools at do_install | ||
5 | |||
6 | It caused QA Issue: | ||
7 | -------------- | ||
8 | |ERROR: QA Issue: File '/usr/sbin/pdata_tools' from thin-provisioning-tools | ||
9 | was already stripped, this will prevent future debugging! [already-stripped] | ||
10 | -------------- | ||
11 | |||
12 | Upstream-Status: Inappropriate [oe specific] | ||
13 | |||
14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
15 | --- | ||
16 | Makefile.in | 1 - | ||
17 | 1 file changed, 1 deletion(-) | ||
18 | |||
19 | diff --git a/Makefile.in b/Makefile.in | ||
20 | index 4264191..ac22042 100644 | ||
21 | --- a/Makefile.in | ||
22 | +++ b/Makefile.in | ||
23 | @@ -189,7 +189,6 @@ distclean: clean | ||
24 | install: bin/pdata_tools | ||
25 | $(INSTALL_DIR) $(BINDIR) | ||
26 | $(INSTALL_PROGRAM) bin/pdata_tools $(BINDIR) | ||
27 | - $(STRIP) $(BINDIR)/pdata_tools | ||
28 | ln -s -f pdata_tools $(BINDIR)/cache_check | ||
29 | ln -s -f pdata_tools $(BINDIR)/cache_dump | ||
30 | ln -s -f pdata_tools $(BINDIR)/cache_metadata_size | ||
31 | -- | ||
32 | 2.8.1 | ||
33 | |||
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb new file mode 100755 index 000000000..c9d6690d7 --- /dev/null +++ b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_0.6.3.bb | |||
@@ -0,0 +1,18 @@ | |||
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 = "GPLv3" | ||
5 | SECTION = "devel" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | SRC_URI = "git://github.com/jthornber/thin-provisioning-tools \ | ||
11 | file://0001-do-not-strip-pdata_tools-at-do_install.patch \ | ||
12 | " | ||
13 | |||
14 | SRCREV = "49bfc12e9c7956c1ac134b24afbe1a6a602ce7d5" | ||
15 | |||
16 | DEPENDS += "expat libaio boost" | ||
17 | |||
18 | inherit autotools-brokensep | ||