mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 16:00:32 +00:00
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@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
3593ada348
commit
7c52d8ab71
@@ -16,13 +16,17 @@ SRC_URI = " \
|
|||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
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,,,"
|
PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,,"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
# bindir contains testapp and apps. However it is always created, even
|
# bindir contains testapp and apps. However it is always created, even
|
||||||
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
||||||
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
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"
|
CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare"
|
||||||
|
|||||||
Reference in New Issue
Block a user