summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-10 20:37:23 +0100
committerSteve Sakoman <steve@sakoman.com>2023-08-30 04:52:36 -1000
commitf55b2e2b44aeedb36b5e353063bf4eafc7f0a900 (patch)
treebe8fb9760359bb13ba2ea3e31c4e473ef8bf5e1d
parentbde906a5f1f60ba6cbae189fa33ea3b336526557 (diff)
downloadpoky-f55b2e2b44aeedb36b5e353063bf4eafc7f0a900.tar.gz
gnupg: Fix reproducibility failure
yat2m can be found within the build or from the recipe-sysroot-native if runtime dependencies are present. The sysroot version has version differences to the in tree copy. Specify the one we want to make the build determinstic. (From OE-Core rev: 8224e8cf402966a1108fe7035da9ed463f3d976a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1feb5274db6e985e10f58359b148dabb4076917a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.4.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.4.2.bb b/meta/recipes-support/gnupg/gnupg_2.4.2.bb
index 580782037e..631df8ac9d 100644
--- a/meta/recipes-support/gnupg/gnupg_2.4.2.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.2.bb
@@ -33,6 +33,8 @@ EXTRA_OECONF = "--disable-ldap \
33 --with-mailprog=${sbindir}/sendmail \ 33 --with-mailprog=${sbindir}/sendmail \
34 --enable-gpg-is-gpg2 \ 34 --enable-gpg-is-gpg2 \
35 " 35 "
36# yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise
37CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m"
36 38
37# A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) 39# A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg)
38PACKAGES =+ "${PN}-gpg" 40PACKAGES =+ "${PN}-gpg"