diff options
| author | Zoltán Böszörményi <zboszor@gmail.com> | 2025-03-05 08:03:19 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-06 11:16:47 +0000 |
| commit | 073caf0dd86746feb343935da439b33ed7aafea0 (patch) | |
| tree | eba1cdb293e56e668e046f1b3afbb090bd582365 /meta/recipes-devtools | |
| parent | 67aabd25735dc46827235da4a0ca8e3b6b011607 (diff) | |
| download | poky-073caf0dd86746feb343935da439b33ed7aafea0.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 f66cb56468..522e9a393d 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 () { | |||
| 20 | # It speeds up the build and we only need DEFAULT/rpm-sequoia. | 20 | # It speeds up the build and we only need DEFAULT/rpm-sequoia. |
| 21 | rm -f $(ls -1 policies/*.pol | grep -v DEFAULT.pol) || echo nothing to delete | 21 | rm -f $(ls -1 policies/*.pol | grep -v DEFAULT.pol) || echo nothing to delete |
| 22 | 22 | ||
| 23 | # Don't validate openssh policy variants. | 23 | # Don't validate openssh and gnutls policy variants. |
| 24 | # Validation may fail and these variants are not needed. | 24 | # Validation may fail and these variants are not needed. |
| 25 | export OLD_OPENSSH=1 | 25 | export OLD_OPENSSH=1 |
| 26 | export OLD_GNUTLS=1 | ||
| 26 | 27 | ||
| 27 | make ASCIIDOC=echo XSLTPROC=echo | 28 | make ASCIIDOC=echo XSLTPROC=echo |
| 28 | } | 29 | } |
