[oe-commits] [meta-openembedded] 04/05: pmdk: fix install error
git at git.openembedded.org
git at git.openembedded.org
Tue Jan 15 18:34:09 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 7d8916b1e4ad6eb2d35d1af8595955fdb1eee17b
Author: Yongxin Liu <yongxin.liu at windriver.com>
AuthorDate: Tue Jan 15 13:02:33 2019 +0800
pmdk: fix install error
Install files to /usr instead of /usr/local.
Install bash_completion file to /etc/.
Remove unnecessary files which are only for debugging.
Set FILES to package /etc/bash_completion.d/pmempool.
Signed-off-by: Yongxin Liu <yongxin.liu at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb b/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb
index 3da22a9..cbd9174 100644
--- a/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb
+++ b/meta-oe/recipes-extended/pmdk/pmdk_1.4.2.bb
@@ -35,24 +35,10 @@ EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}'"
EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"
do_install() {
- oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-
- # Copy these into the standard directories
- install -d ${D}${bindir}/
- mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
- mv ${D}/usr/local/bin/daxio ${D}${bindir}/
-
- install -d ${D}${libdir}
- mv ${D}/usr/local/lib/*so* ${D}${libdir}/
-
- install -d ${D}${libdir}/pkgconfig
- mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
-
- install -d ${D}${includedir}
- mv ${D}/usr/local/include/* ${D}${includedir}/
+ oe_runmake prefix=${prefix} DESTDIR=${D} sysconfdir=/etc install
# Remove uneeded files
- rm -rf ${D}/usr/local/
+ rm -rf ${D}/usr/lib64/pmdk_debug
}
# Include these by default otherwise the SDK is not very useful
@@ -60,5 +46,6 @@ FILES_${PN} += "${bindir}/pmempool ${bindir}/daxio"
FILES_${PN} += "${libdir}/*so*"
FILES_${PN} += "${libdir}/pkgconfig/*.pc"
FILES_${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/*"
+FILES_${PN} += "${sysconfdir}"
COMPATIBLE_HOST='(x86_64).*'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list