[yocto] [meta-cgl][PATCH] cluster-glue: update EXTRA_OECONF and RDEPENDS

kai.kang at windriver.com kai.kang at windriver.com
Sun Jan 14 21:44:44 PST 2018


From: Kai Kang <kai.kang at windriver.com>

cluster-glue refers to some resources located in $OCF_ROOT_DIR which is
provided by package cluster-resource-agents. But these resources are
installed to ${libdir}/ocf by previous commit. So update EXTRA_OECONF to
set OCF_ROOT_DIR with ${libdir}/ocf too.

Update RDEPENDS of ${PN}-lrmtest as well.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 2 ++
 1 file changed, 2 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 dfd6a14..c8a3ff6 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
@@ -38,6 +38,7 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},
 EXTRA_OECONF = "--with-daemon-user=${HA_USER} \
                 --with-daemon-group=${HA_GROUP} \
                 --disable-fatal-warnings \
+                --with-ocf-root=${libdir}/ocf \
                "
 
 CACHED_CONFIGUREVARS="ac_cv_path_XML2CONFIG=0"
@@ -135,3 +136,4 @@ RDEPENDS_${PN} += "perl"
 RDEPENDS_${PN}-plugin-stonith2 += "bash"
 RDEPENDS_${PN}-plugin-stonith-external += "bash python perl"
 RDEPENDS_${PN}-plugin-stonith2-ribcl += "python"
+RDEPENDS_${PN}-lrmtest += "${VIRTUAL-RUNTIME_getopt} ${PN}-plugin-raexec"
-- 
2.14.1




More information about the yocto mailing list