From 7067d469742f0be4dd2b9ea3953fb039a4410085 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= Date: Thu, 13 Feb 2025 16:23:23 +0100 Subject: [PATCH] dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- meta/recipes-devtools/dnf/dnf_4.22.0.bb | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.47.3