From: Jate Sujjavanich <jatedev@gmail.com>
To: yocto@lists.yoctoproject.org, mark.hatle@kernel.crashing.org,
jason.wessel@windriver.com
Subject: [meta-openssl102-fips][PATCH] openssl-fips: Exclude variable from task hash
Date: Fri, 22 Jul 2022 00:51:57 +0000 [thread overview]
Message-ID: <20220722005157.79695-1-jatedev@gmail.com> (raw)
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
reply other threads:[~2022-07-22 0:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220722005157.79695-1-jatedev@gmail.com \
--to=jatedev@gmail.com \
--cc=jason.wessel@windriver.com \
--cc=mark.hatle@kernel.crashing.org \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox