]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
dnf: Set SEQUOIA_CRYPTO_POLICY in wrapped tools
authorZoltán Böszörményi <zboszor@gmail.com>
Thu, 13 Feb 2025 15:23:23 +0000 (16:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Feb 2025 22:06:55 +0000 (22:06 +0000)
Point to the crypto policy file so dnf can work with signed packages.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dnf/dnf_4.22.0.bb

index f9d6ea1fa6f5ab646e6bc096c68329c06711c24c..e5ac3c9824ce71d85e97133e4e9def6cd3be129e 100644 (file)
@@ -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
 }