From f9bf1bbe25b625cc1bf54fdf6ed174499fc79571 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= Date: Wed, 5 Mar 2025 08:03:19 +0100 Subject: [PATCH] rpm-sequoia-crypto-policy: Don't validate gnutls crypto policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Building this recipe may fail on hosts with an old GnuTLS version, like Ubuntu 20.04.6 LTS. Add OLD_GNUTLS=1 to disable validation for this policy variant that isn't needed anyway. Signed-off-by: Zoltán Böszörményi Tested-by: Yi Zhao Signed-off-by: Richard Purdie --- .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb index f66cb56468c..522e9a393d7 100644 --- a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb +++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb @@ -20,9 +20,10 @@ do_compile () { # It speeds up the build and we only need DEFAULT/rpm-sequoia. rm -f $(ls -1 policies/*.pol | grep -v DEFAULT.pol) || echo nothing to delete - # Don't validate openssh policy variants. + # Don't validate openssh and gnutls policy variants. # Validation may fail and these variants are not needed. export OLD_OPENSSH=1 + export OLD_GNUTLS=1 make ASCIIDOC=echo XSLTPROC=echo } -- 2.47.3