openssl-fips: Exclude variable from task hash
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.
Signed-off-by Jate Sujjavanich <[email protected]>
--- 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
@@ -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