diff options
3 files changed, 52 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index e452f11bf9..e2feeb3649 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -66,6 +66,6 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
| 66 | FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev" | 66 | FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev" |
| 67 | FILES_${PN}-dbg += "${libdir}/device-mapper/.debug" | 67 | FILES_${PN}-dbg += "${libdir}/device-mapper/.debug" |
| 68 | 68 | ||
| 69 | RDEPENDS_${PN} = "bash" | 69 | RDEPENDS_${PN} = "bash thin-provisioning-tools" |
| 70 | 70 | ||
| 71 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" | 71 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" |
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 0000000000..b4cdda1327 --- /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 0000000000..c9d6690d71 --- /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 | ||
