aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-11-07 17:20:39 +0800
committerAdrian Dudau <adrian.dudau@enea.com>2017-11-09 11:27:05 +0100
commit50b22651185ffef6f78d5a37acaf8e49fef90502 (patch)
tree99f3e417ab35dd367e6a99cdc48fb73629bc2b88
parentc46519b30f107704c5668290cef4f19fd5b756d9 (diff)
downloadmeta-cgl-rocko.tar.gz
meta-cgl-rocko.tar.bz2
meta-cgl-rocko.zip
pacemaker: disable autostartrocko
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.kang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
-rwxr-xr-xmeta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb2
1 files changed, 2 insertions, 0 deletions
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"