From 2850991c37f39a098bd15219af725f85b81417a0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 10 Aug 2023 20:37:23 +0100 Subject: 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: 1feb5274db6e985e10f58359b148dabb4076917a) Signed-off-by: Richard Purdie --- meta/recipes-support/gnupg/gnupg_2.4.2.bb | 2 ++ 1 file changed, 2 insertions(+) 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 \ --with-mailprog=${sbindir}/sendmail \ --enable-gpg-is-gpg2 \ " +# yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise +CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m" # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) PACKAGES =+ "${PN}-gpg" -- cgit v1.2.3-54-g00ecf