rpm: Set SEQUOIA_CRYPTO_POLICY in wrapped tools

Point to the crypto policy file so RPM signing may work.

(From OE-Core rev: 23083b72e3e6587dca9ca5a16762676e981b4a3b)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zoltán Böszörményi
2025-02-13 16:23:22 +01:00
committed by Richard Purdie
parent 7c3c6f844d
commit 51d5e12aa0

View File

@@ -100,6 +100,7 @@ WRAPPER_TOOLS = " \
do_install:append:class-native() {
for tool in ${WRAPPER_TOOLS}; do
test -x ${D}$tool && create_wrapper ${D}$tool \
SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config \
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \