]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gnupg: Fix reproducibility failure
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Aug 2023 19:37:23 +0000 (20:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Aug 2023 08:35:40 +0000 (09:35 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_2.4.2.bb

index 580782037e4b2cfb383903d75cdce4c6d194fca1..631df8ac9d7556aa73980c80c6d4ba8a5079e400 100644 (file)
@@ -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"