* [PATCH] cluster-glue: improve reproducibility
@ 2020-09-27 8:42 Yu, Mingli
0 siblings, 0 replies; only message in thread
From: Yu, Mingli @ 2020-09-27 8:42 UTC (permalink / raw)
To: jpuhlman, yocto
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-27 8:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-27 8:42 [PATCH] cluster-glue: improve reproducibility Yu, Mingli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox