diff mbox series

[oe,meta-oe,3/4] pmdk: Fix packaging errors when building on non-x86 host

Message ID 20190806064835.33856-3-raj.khem@gmail.com
State Accepted
Commit 2f36fb71c9091dc0f07a53335ec663e02745d278
Headers show
Series [oe,meta-oe,1/4] sjf2410-linux-native: Do not include sys/io.h | expand

Commit Message

Khem Raj Aug. 6, 2019, 6:48 a.m. UTC
Fixes
ERROR: QA Issue: pmdk: Files/directories were installed but not shipped in any package:
  /usr/x86_64-linux-gnu
  /usr/lib/pmdk_debug/libpmemobj.so.1
  /usr/lib/pmdk_debug/libpmemblk.so.1
  /usr/lib/pmdk_debug/libvmem.so.1
  /usr/lib/pmdk_debug/libvmmalloc.so
  /usr/lib/pmdk_debug/libpmempool.so

....

  /usr/x86_64-linux-gnu/include/libpmemobj/iterator_base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/tx_base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/lists_atomic_base.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/pmdk/pmdk_1.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.22.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb b/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
index c20bdf6d1e..c8688b2c63 100644
--- a/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
+++ b/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
@@ -35,14 +35,14 @@  do_install() {
 	oe_runmake prefix=${prefix} DESTDIR=${D} install
 
 	# Remove uneeded files
-	rm -rf ${D}/usr/lib64/pmdk_debug
+	rm -rf ${D}/usr/${baselib}/pmdk_debug
 }
 
 # Include these by default otherwise the SDK is not very useful
 FILES_${PN} += "${bindir}/pmempool ${bindir}/daxio"
 FILES_${PN} += "${libdir}/*so*"
 FILES_${PN} += "${libdir}/pkgconfig/*.pc"
-FILES_${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/*"
+FILES_${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/* /usr/*/include/"
 FILES_${PN} += "/usr/etc"
 FILES_${PN} += "/usr/share"