Yocto Project Discussions
 help / color / mirror / Atom feed
* [meta-openssl102-fips][PATCH] openssl-fips: Exclude variable from task hash
@ 2022-07-22  0:51 Jate Sujjavanich
  0 siblings, 0 replies; only message in thread
From: Jate Sujjavanich @ 2022-07-22  0:51 UTC (permalink / raw)
  To: yocto, mark.hatle, jason.wessel

Add LAYERPATH_meta-openssl-one-zero-two-fips to vardepsexclude for
do_check_fips to improve sstate reuse

This variable notifies the user of a machine specific path.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
---
 recipes-connectivity/openssl/openssl-fips_2.0.16.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-connectivity/openssl/openssl-fips_2.0.16.bb b/recipes-connectivity/openssl/openssl-fips_2.0.16.bb
index 7a2949a..582fee1 100644
--- a/recipes-connectivity/openssl/openssl-fips_2.0.16.bb
+++ b/recipes-connectivity/openssl/openssl-fips_2.0.16.bb
@@ -84,6 +84,12 @@ def which(paths, file):
 
 OPENSSL_FIPS_PREBUILT ?= "${FILE_DIRNAME}/${BPN}"
 
+#
+# This variable notifes the user of a machine specific path, so it should not
+# be used in the task hash calculation
+#
+do_check_fips[vardepsexclude] += "LAYERPATH_meta-openssl-one-zero-two-fips"
+
 addtask do_check_fips before do_fetch
 python do_check_fips() {
     if d.getVar('OPENSSL_FIPS_FULLPATH', True) == "":
-- 
2.25.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-22  0:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-22  0:51 [meta-openssl102-fips][PATCH] openssl-fips: Exclude variable from task hash Jate Sujjavanich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox