mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
20 lines
459 B
Plaintext
20 lines
459 B
Plaintext
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
|
|
}
|
|
|