From: Zoltán Böszörményi Date: Thu, 13 Feb 2025 15:23:23 +0000 (+0100) Subject: dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools X-Git-Tag: yocto-5.2~486 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7067d469742f0be4dd2b9ea3953fb039a4410085;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools Point to the crypto policy file so dnf can work with signed packages. Signed-off-by: Zoltán Böszörményi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/dnf/dnf_4.22.0.bb b/meta/recipes-devtools/dnf/dnf_4.22.0.bb index f9d6ea1fa6f..e5ac3c9824c 100644 --- a/meta/recipes-devtools/dnf/dnf_4.22.0.bb +++ b/meta/recipes-devtools/dnf/dnf_4.22.0.bb @@ -69,6 +69,7 @@ do_install:append() { # Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in do_install:append:class-native() { create_wrapper ${D}/${bindir}/dnf \ + SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config \ RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ RPM_NO_CHROOT_FOR_SCRIPTS=1 }