From 489a51037f61b829c16bf64cc219978781151994 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 17 Jun 2024 16:13:17 +0800 Subject: nss-pam-ldapd: Start WORKDIR -> UNPACKDIR transition Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Wang Mingyu Signed-off-by: Bruce Ashfield --- recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-support/nss-pam-ldapd') diff --git a/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb b/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb index 7f3b9e3..582f759 100644 --- a/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb +++ b/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb @@ -43,14 +43,14 @@ FILES:${PN}-dbg += "${base_libdir}/security/.debug" LDAP_DN ?= "dc=my-domain,dc=com" do_install:append() { - install -D -m 0755 ${WORKDIR}/nslcd.init ${D}${sysconfdir}/init.d/nslcd + install -D -m 0755 ${UNPACKDIR}/nslcd.init ${D}${sysconfdir}/init.d/nslcd sed -i -e 's/^uid nslcd/# uid nslcd/;' ${D}${sysconfdir}/nslcd.conf 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 -m 0644 ${UNPACKDIR}/nslcd.service ${D}${systemd_unitdir}/system } inherit update-rc.d systemd -- cgit v1.2.3-54-g00ecf