summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltán Böszörményi <zboszor@gmail.com>2025-02-13 16:23:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 11:56:04 +0000
commit0c3da27d333629e1b6a20c69720d36c4497af5a3 (patch)
treed8222646b978eacbd47bd2152fc79af95834f667
parent51d5e12aa042c55624f4b605e93fd95351eaa5d7 (diff)
downloadpoky-0c3da27d333629e1b6a20c69720d36c4497af5a3.tar.gz
dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools
Point to the crypto policy file so dnf can work with signed packages. (From OE-Core rev: 7067d469742f0be4dd2b9ea3953fb039a4410085) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.22.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_4.22.0.bb b/meta/recipes-devtools/dnf/dnf_4.22.0.bb
index f9d6ea1fa6..e5ac3c9824 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() {
69# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in 69# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in
70do_install:append:class-native() { 70do_install:append:class-native() {
71 create_wrapper ${D}/${bindir}/dnf \ 71 create_wrapper ${D}/${bindir}/dnf \
72 SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config \
72 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 73 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
73 RPM_NO_CHROOT_FOR_SCRIPTS=1 74 RPM_NO_CHROOT_FOR_SCRIPTS=1
74} 75}