diff options
Diffstat (limited to 'meta-systemd')
| -rw-r--r-- | meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service | 10 | ||||
| -rw-r--r-- | meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend | 11 |
2 files changed, 0 insertions, 21 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service deleted file mode 100644 index cffb56c1d0..0000000000 --- a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Portmap | ||
| 3 | |||
| 4 | [Service] | ||
| 5 | Type=oneshot | ||
| 6 | ExecStart=/sbin/portmap -l | ||
| 7 | RemainAfterExit=yes | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend index f13b51187c..6ce6e70d98 100644 --- a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend | |||
| @@ -1,16 +1,5 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" | ||
| 2 | |||
| 3 | inherit systemd | ||
| 4 | |||
| 5 | RPROVIDES_${PN} += "${PN}-systemd" | 1 | RPROVIDES_${PN} += "${PN}-systemd" |
| 6 | RREPLACES_${PN} += "${PN}-systemd" | 2 | RREPLACES_${PN} += "${PN}-systemd" |
| 7 | RCONFLICTS_${PN} += "${PN}-systemd" | 3 | RCONFLICTS_${PN} += "${PN}-systemd" |
| 8 | SYSTEMD_SERVICE_${PN} = "portmap.service" | ||
| 9 | SYSTEMD_AUTO_ENABLE = "disable" | 4 | SYSTEMD_AUTO_ENABLE = "disable" |
| 10 | 5 | ||
| 11 | SRC_URI_append = " file://portmap.service" | ||
| 12 | |||
| 13 | do_install_append() { | ||
| 14 | install -d ${D}${systemd_unitdir}/system | ||
| 15 | install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system | ||
| 16 | } | ||
