From: Kai Kang <kai.k...@windriver.com>

pacemaker requires corosync starts before it. But corosync could not start
without configuration and autostart is disabled. So disable autostart of
pacemaker too.

Signed-off-by: Kai Kang <kai.k...@windriver.com>
---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb 
b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
index 3a4a848..37c3b53 100755
--- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
+++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
@@ -88,6 +88,8 @@ FILES_${PN} += " ${datadir}/snmp                             \
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug"
 RDEPENDS_${PN} = "bash python libqb"
 
+SYSTEMD_AUTO_ENABLE = "disable"
+
 SYSTEMD_PACKAGES += "${PN}-remote"
 SYSTEMD_SERVICE_${PN} += "pacemaker.service crm_mon.service"
 SYSTEMD_SERVICE_${PN}-remote += "pacemaker_remote.service"
-- 
2.14.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to