mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 22:33:28 +00:00
portmap: systemd support now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
1956582b91
commit
dee3763837
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user