portmap: systemd support now in OE-Core

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton
2014-09-17 15:26:07 +01:00
committed by Martin Jansa
parent 1956582b91
commit dee3763837
2 changed files with 0 additions and 21 deletions
@@ -1,10 +0,0 @@
[Unit]
Description=Portmap
[Service]
Type=oneshot
ExecStart=/sbin/portmap -l
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
@@ -1,16 +1,5 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
inherit systemd
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "portmap.service"
SYSTEMD_AUTO_ENABLE = "disable"
SRC_URI_append = " file://portmap.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system
}