Skip to contentSkip to conversation

hwloc: fix multilib problem

PATCH New Chen Qi 1 participant 1 message Dec 26, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 hwloc: fix multilib problem

Use libhwloc instead of lib${PN} to fix problem in case of multilib. Otherwise, when installing lib32-hwloc into image, we would have the following error at do_rootfs.

- nothing provides lib32-liblib32-hwloc = 1.11.5-r0 needed by lib32-hwloc-1.11.5-r0.corei7_32

Also, fix FILES variable for libhwloc to not contain .so link file. This would fix the QA issue, and the INSANE_SKIP line is no longer needed.

---
 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb +3 -6
index d7fdd823c..5a335b924 100644
@@ -24,9 +24,6 @@ PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo"
 PACKAGECONFIG[pci] = "--enable-pci,--disable-pci,libpciaccess,libpciaccess"
 
 # Split hwloc library into separate subpackage
-PACKAGES_prepend = " lib${PN} "
-FILES_lib${PN} += "${libdir}/lib${PN}.so*"
-RDEPENDS_${PN} += "lib${PN} (= ${EXTENDPKGV})"
-
-# XXX dev-so QA check doesn't like soname symlinks in non-dev packages
-INSANE_SKIP_lib${PN} += "dev-so"
+PACKAGES_prepend = " libhwloc "
+FILES_libhwloc += "${libdir}/libhwloc.so.*"
+RDEPENDS_${PN} += "libhwloc (= ${EXTENDPKGV})"
Signature · 1 line
2.13.0