mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
opensaf: remove unused service file
Upstream ships systemd service file plmcboot.service and plmcd.service now, so we don't need this anymore. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=PLMCBOOT Program
|
||||
After=network.target
|
||||
ConditionPathExists=@SYSCONFDIR@/plmcd.conf
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@SBINDIR@/plmcd -c @SYSCONFDIR@/plmcd.conf -s
|
||||
ExecStop=@SBINDIR@/plmcd -c @SYSCONFDIR@/plmcd.conf -x
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Plmcd Daemon
|
||||
Requires=plmcboot.service
|
||||
After=network.target plmcboot.service
|
||||
ConditionPathExists=@SYSCONFDIR@/plmcd.conf
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@SBINDIR@/plmcd -c @SYSCONFDIR@/plmcd.conf
|
||||
ExecStartPost=/bin/touch /var/lock/subsys/plmcd
|
||||
ExecStopPost=/bin/rm -rf /var/lock/subsys/plmcd
|
||||
PIDFile=/var/run/plmcd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -15,8 +15,6 @@ inherit autotools useradd systemd pkgconfig
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/releases/${BPN}-${PV}.tar.gz \
|
||||
file://install-samples-from-srcdir.patch \
|
||||
file://plmcd.service \
|
||||
file://plmcboot.service \
|
||||
file://0001-plmcd-error-fix.patch \
|
||||
file://Revert_imma_client_node_replyPending_to_unsigned_char.patch \
|
||||
file://Fix_GCC_5.1.0_compiler_warning.patch \
|
||||
@@ -65,8 +63,6 @@ do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${B}/osaf/services/infrastructure/nid/config/opensafd.service \
|
||||
${D}${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/plmc*.service ${D}/${systemd_unitdir}/system
|
||||
sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/plmc*.service
|
||||
sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/plmc*.service
|
||||
install -m 0644 ${B}/contrib/plmc/config/*.service ${D}/${systemd_unitdir}/system
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user