diff options
| -rw-r--r-- | meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service | 13 | ||||
| -rw-r--r-- | meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend | 14 |
2 files changed, 0 insertions, 27 deletions
diff --git a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service deleted file mode 100644 index a028acebe5..0000000000 --- a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=RPC Bind | ||
| 3 | After=network.target | ||
| 4 | Wants=rpcbind.target | ||
| 5 | Before=rpcbind.target | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | Type=forking | ||
| 9 | ExecStart=/usr/sbin/rpcbind | ||
| 10 | Restart=always | ||
| 11 | |||
| 12 | [Install] | ||
| 13 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend index 9f83f65d07..5cb6bf4346 100644 --- a/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend +++ b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend | |||
| @@ -1,19 +1,5 @@ | |||
| 1 | inherit systemd | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 2}" | 1 | PRINC := "${@int(PRINC) + 2}" |
| 4 | 2 | ||
| 5 | # look for files in the layer first | ||
| 6 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 7 | |||
| 8 | SRC_URI += "file://rpcbind.service" | ||
| 9 | |||
| 10 | RPROVIDES_${PN} += "${PN}-systemd" | 3 | RPROVIDES_${PN} += "${PN}-systemd" |
| 11 | RREPLACES_${PN} += "${PN}-systemd" | 4 | RREPLACES_${PN} += "${PN}-systemd" |
| 12 | RCONFLICTS_${PN} += "${PN}-systemd" | 5 | RCONFLICTS_${PN} += "${PN}-systemd" |
| 13 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" | ||
| 14 | |||
| 15 | do_install_append() { | ||
| 16 | install -d ${D}${systemd_unitdir}/system | ||
| 17 | install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system | ||
| 18 | } | ||
| 19 | |||
