rpcbind: Remove systemd support which is merged in oe-core

OE-Core has been updated to support rpcbind with systemd. Stuff here is
not required anymore.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Shakeel, Muhammad 2013-09-12 15:28:54 +00:00 committed by Martin Jansa
parent 03e6d3cba8
commit af181db5dc
2 changed files with 0 additions and 27 deletions

View File

@ -1,13 +0,0 @@
[Unit]
Description=RPC Bind
After=network.target
Wants=rpcbind.target
Before=rpcbind.target
[Service]
Type=forking
ExecStart=/usr/sbin/rpcbind
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,19 +1,5 @@
inherit systemd
PRINC := "${@int(PRINC) + 2}"
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://rpcbind.service"
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "rpcbind.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
}