Skip to contentSkip to conversation

rpm-sequoia-crypto-policy: Don't validate gnutls crypto policy

PATCH New Zoltán Böszörményi 1 participant 1 message Mar 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm-sequoia-crypto-policy: Don't validate gnutls crypto policy

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.

---
 .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb               | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb +2 -1
index f66cb56468..522e9a393d 100644
@@ -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
 }
Signature · 1 line
2.48.1