[oe-commits] [meta-openembedded] 01/05: libkcapi: Fix missing bash (for apps) and unneeded checksums (for testapp) when building

git at git.openembedded.org git at git.openembedded.org
Sat Jan 26 19:00:55 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 7c52d8ab718871858caa499b5cf769c9b7c19454
Author: Krzysztof Kozlowski <krzk at kernel.org>
AuthorDate: Fri Jan 25 14:05:16 2019 +0100

    libkcapi: Fix missing bash (for apps) and unneeded checksums (for testapp) when building
    
    Fix build failures:
    1. with "apps" PACKAGECONFIG:
    
        ERROR: libkcapi-1.1.3+gitAUTOINC+1c736c43eb-r0 do_package:
        QA Issue: libkcapi: Files/directories were installed but not shipped in any package:
          /usr/bin/.sha1hmac.hmac
          /usr/lib/.libkcapi.so.1.1.3.hmac
    
    2. with "testapp" PACKAGECONFIG:
    
        ERROR: libkcapi-1.1.3+gitAUTOINC+1c736c43eb-r0 do_package_qa:
        QA Issue: /usr/libexec/libkcapi/test.sh contained in package libkcapi requires /bin/bash,
        but no providers found in RDEPENDS_libkcapi? [file-rdeps]
    
    Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb
index a93ddc8..f70f774 100644
--- a/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb
+++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb
@@ -16,13 +16,17 @@ SRC_URI = " \
 inherit autotools
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,"
+PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,bash"
 PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,,"
 
 do_install_append() {
     # bindir contains testapp and apps.  However it is always created, even
     # when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
     rmdir --ignore-fail-on-non-empty ${D}${bindir}
+
+    # Remove the generated binary checksum files
+    rm -f ${D}${bindir}/.*.hmac
+    rm -f ${D}${libdir}/.*.hmac
 }
 
 CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare"

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


More information about the Openembedded-commits mailing list