Skip to contentSkip to conversation

openssl-fips: Exclude variable from task hash

PATCH New Jate Sujjavanich 1 participant 1 message Jul 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl-fips: Exclude variable from task hash

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.

---
 recipes-connectivity/openssl/openssl-fips_2.0.16.bb | 6 ++++++
 1 file changed, 6 insertions(+)
recipes-connectivity/openssl/openssl-fips_2.0.16.bb +6 -0
index 7a2949a..582fee1 100644
@@ -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) == "":
Signature · 1 line
2.25.1