From: "Yu, Mingli" <mingli.yu@windriver.com>
To: <jpuhlman@mvista.com>, <yocto@lists.yoctoproject.org>
Subject: [PATCH] cluster-glue: improve reproducibility
Date: Sun, 27 Sep 2020 16:42:03 +0800 [thread overview]
Message-ID: <20200927084203.41056-1-mingli.yu@windriver.com> (raw)
From: Mingli Yu <mingli.yu@windriver.com>
Remove the build path info from the files such as drac5,
kdumpcheck and etc to improve reproducibility.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
.../recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
index d9df83b..1e4529d 100644
--- a/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
+++ b/meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb
@@ -62,6 +62,13 @@ do_install_append() {
install -d ${D}${sysconfdir}/tmpfiles.d
install -m 0644 ${WORKDIR}/tmpfiles ${D}${sysconfdir}/tmpfiles.d/${PN}.conf
+ # remove buildpath
+ tempdirs=$(grep -Rn ${HOSTTOOLS_DIR} ${D}/* | awk -F: '{print $1}' | uniq)
+ for temdir in $tempdirs
+ do
+ sed -i "s:${HOSTTOOLS_DIR}/::g" $temdir
+ done
+
oe_multilib_header heartbeat/glue_config.h
}
--
2.26.2
reply other threads:[~2020-09-27 8:43 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=20200927084203.41056-1-mingli.yu@windriver.com \
--to=mingli.yu@windriver.com \
--cc=jpuhlman@mvista.com \
--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