aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
blob: 9218b7ef158d6b532ff26d489127c6d9e537f1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
SYSTEMD_SERVICE_${PN} = "ypbind.service"
do_install_append() {
	install -d ${D}${systemd_unitdir}/system
	install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
}