From 57e15b1d5cf7749e6bd01c3ef484689f4191d51e Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 25 Mar 2021 15:40:46 -0400 Subject: meta-phosphor: use systemd_system_unitdir This variable was added to bitbake.conf so lets use it. Using it is best pratice and enables things like alternative base_libdir paths. Change-Id: I181d12e02ca7918614dacec68bd8e033932eb0ab Signed-off-by: Brad Bishop --- meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb') diff --git a/meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb b/meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb index 5fcfeea17..596c1824f 100644 --- a/meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb +++ b/meta-phosphor/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb @@ -49,8 +49,8 @@ do_install_append() { sed -i -e 's/^gid nslcd/# gid nslcd/;' ${D}${sysconfdir}/nslcd.conf sed -i -e 's/^base dc=example,dc=com/base ${LDAP_DN}/;' ${D}${sysconfdir}/nslcd.conf - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/nslcd.service ${D}${systemd_unitdir}/system + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${WORKDIR}/nslcd.service ${D}${systemd_system_unitdir} } inherit update-rc.d systemd -- cgit v1.2.3