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.

(From OE-Core rev: f9bf1bbe25b625cc1bf54fdf6ed174499fc79571)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Tested-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zoltán Böszörményi
2025-03-05 08:03:19 +01:00
committed by Richard Purdie
parent 67aabd2573
commit 073caf0dd8

View File

@@ -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
}