diff options
Diffstat (limited to 'meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend')
-rw-r--r-- | meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend | 19 |
1 files changed, 19 insertions, 0 deletions
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 new file mode 100644 index 0000000000..6586809a2a --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend @@ -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 +} + |