mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
51d5e12aa0
commit
0c3da27d33
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user