From: <kai.kang@windriver.com>
To: <yocto@yoctoproject.org>
Subject: [meta-cgl][PATCH 1/1] pacemaker: disable autostart
Date: Tue, 7 Nov 2017 17:20:39 +0800 [thread overview]
Message-ID: <20171107092039.3090-2-kai.kang@windriver.com> (raw)
In-Reply-To: <20171107092039.3090-1-kai.kang@windriver.com>
From: Kai Kang <kai.kang@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.kang@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
prev parent reply other threads:[~2017-11-07 9:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-07 9:20 [meta-cgl][PATCH 0/1] Disable autostart of pacemaker kai.kang
2017-11-07 9:20 ` kai.kang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171107092039.3090-2-kai.kang@windriver.com \
--to=kai.kang@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.