rpcbind: move bbappend to oe-core subdirectory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2013-04-13 13:26:34 +02:00
parent a67fc4b8a3
commit c39daf6e36
2 changed files with 0 additions and 0 deletions
@@ -0,0 +1,13 @@
[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
@@ -0,0 +1,19 @@
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
}