[oe-commits] [meta-openembedded] 40/50: keyutils: fix QA WARNING

git at git.openembedded.org git at git.openembedded.org
Tue Jul 9 18:55:42 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 98cd69e8aca1fdd60bf27c5ea15633dc0a9baaa3
Author: Armin Kuster <akuster808 at gmail.com>
AuthorDate: Mon Jul 8 14:38:57 2019 +0800

    keyutils: fix QA WARNING
    
    WARNING: keyutils-1.6-r0 do_package: QA Issue: keyutils: Files/directories were installed but not shipped in any package:
      /lib/pkgconfig
      /lib/pkgconfig/libkeyutils.pc
    
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 keyutils_1.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/keyutils_1.6.bb b/keyutils_1.6.bb
index 730e174..054e0c1 100644
--- a/keyutils_1.6.bb
+++ b/keyutils_1.6.bb
@@ -35,6 +35,7 @@ EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \
     "
 
 do_install () {
+    install -d ${D}/${nonarch_base_libdir}/pkgconfig
     oe_runmake DESTDIR=${D} install
 }
 
@@ -43,4 +44,6 @@ do_install_ptest () {
     sed -i -e 's/OSDIST=Unknown/OSDIST=${DISTRO}/' ${D}${PTEST_PATH}/tests/prepare.inc.sh
 }
 
+FILES_${PN}-dev += "${nonarch_base_libdir}/pkgconfig/libkeyutils.pc"
+
 RDEPENDS_${PN}-ptest += "glibc-utils lsb"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list