[yocto] [meta-cgl][PATCH] resource-agents: improve reproducibility
Hongxu Jia
hongxu.jia at windriver.com
Tue Jun 4 00:54:06 PDT 2019
Script ocf-binaries contains build path
$ grep tmp-glibc -rn image/
|image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:11:: ${EGREP:="/buildarea1/hjia/
wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/grep -E"}
|image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:16:: ${TEST:=/buildarea1/hjia/
wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/test}
Set grep/test path rather than using hosttools which refers
commit in oe-core [f6e7a3b libtool: Don't hardcode grep paths]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
.../recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb
index 8b2b8e1..ba00a80 100644
--- a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb
+++ b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb
@@ -44,6 +44,11 @@ RDEPENDS_${PN} += "bash perl lvm2 \
inherit autotools systemd pkgconfig
+CACHED_CONFIGUREVARS += " \
+ ac_cv_path_GREP=grep \
+ ac_cv_path_TEST=test \
+"
+
EXTRA_OECONF += "--disable-fatal-warnings \
--with-rsctmpdir=/var/run/heartbeat/rsctmp"
--
2.7.4
More information about the yocto
mailing list