Skip to contentSkip to conversation

pciutils: Move headers from pciutils-dev to libpci-dev

PATCH Superseded Robert Joslyn 2 participants 2 messages Dec 2, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pciutils: Move headers from pciutils-dev to libpci-dev

The pciutils recipe places libpci in a separate package, but the default package split puts the headers for the library in pciutils-dev. When building an SDK for an image that uses libpci, but not pciutils, the headers for libpci are not included.

Move the headers, unversioned so symlink, and pkgconfig files from pciutils-dev to libpci-dev so the SDK gets those files for images using libpci.

---
 meta/recipes-bsp/pciutils/pciutils_3.6.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-bsp/pciutils/pciutils_3.6.2.bb +3 -1
index 413421cd8a..de1e54e5a5 100644
@@ -52,9 +52,11 @@ do_install () {
 	oe_multilib_header pci/config.h
 }
 
-PACKAGES =+ "${PN}-ids libpci"
+PACKAGES =+ "${PN}-ids libpci libpci-dev"
 FILES_${PN}-ids = "${datadir}/pci.ids*"
 FILES_libpci = "${libdir}/libpci.so.*"
+FILES_libpci-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/pkgconfig"
 SUMMARY_${PN}-ids = "PCI utilities - device ID database"
 DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
 RDEPENDS_${PN} += "${PN}-ids"
+RDEPENDS_libpci-dev = "libpci (= ${EXTENDPKGV})"
Signature · 1 line
2.19.2
#1 lore raw

✗ patchtest: failure for pciutils: Move headers from pciutils-dev to libpci-dev

== Series Details ==

Series: pciutils: Move headers from pciutils-dev to libpci-dev
Revision: 1
URL : https://patchwork.openembedded.org/series/15166/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Patch            pciutils: Move headers from pciutils-dev to libpci-dev
 Issue             Patch is missing Signed-off-by [test_signed_off_by_presence] 
  Suggested fix    Sign off the patch (either manually or with "git commit --amend -s")

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe