aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
blob: cd3b98e3c00b345fed63c5a560821a81bc05f5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
inherit systemd

PRINC := "${@int(PRINC) + 1}"

# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://ypbind.service"

SYSTEMD_PACKAGES = "${PN}"
RPROVIDES_${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
}