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.

Signed-off-by: Richard Purdie <[email protected]>
---
 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 580782037e4..a3217b2a514 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"
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#185823): 
https://lists.openembedded.org/g/openembedded-core/message/185823
Mute This Topic: https://lists.openembedded.org/mt/100670606/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to