From: Zoltán Böszörményi Date: Thu, 13 Feb 2025 15:23:22 +0000 (+0100) Subject: rpm: Set SEQUOIA_CRYPTO_POLICY in wrapped tools X-Git-Tag: yocto-5.2~487 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23083b72e3e6587dca9ca5a16762676e981b4a3b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpm: Set SEQUOIA_CRYPTO_POLICY in wrapped tools Point to the crypto policy file so RPM signing may work. Signed-off-by: Zoltán Böszörményi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb index 45487ad32c4..281fde1c829 100644 --- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb +++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb @@ -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 \