aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend')
-rw-r--r--meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend b/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
index 14dbaacbba..cd3b98e3c0 100644
--- a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
+++ b/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
@@ -7,6 +7,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://ypbind.service"
-SYSTEMD_PACKAGES = "${PN}-systemd"
-SYSTEMD_SERVICE = "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
+}