Skip to contentSkip to conversation

cluster-glue: update EXTRA_OECONF and RDEPENDS

PATCH New [email protected] 1 participant 1 message Jan 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cluster-glue: update EXTRA_OECONF and RDEPENDS

From: Kai Kang <[email protected]>

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.

---
 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +2 -0
index dfd6a14..c8a3ff6 100644
@@ -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"
Signature · 1 line
2.14.1