blob: 8f11247a0f8e6e5dc63955158016bbf67f4aec51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
inherit systemd
PRINC := "${@int(PRINC) + 2}"
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://ypbind.service"
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "ypbind.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
}
|