diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-06-17 16:13:17 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-06-24 21:05:04 +0000 |
| commit | 489a51037f61b829c16bf64cc219978781151994 (patch) | |
| tree | 9b36da9ab9d0fa6efaae1725ab1a840f3ae7e13d | |
| parent | cf69792503dbba2aa12aabe2b0bb12a89adc9ccf (diff) | |
| download | meta-cloud-services-489a51037f61b829c16bf64cc219978781151994.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.12.bb | 4 |
1 files changed, 2 insertions, 2 deletions
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" | |||
| 43 | LDAP_DN ?= "dc=my-domain,dc=com" | 43 | LDAP_DN ?= "dc=my-domain,dc=com" |
| 44 | 44 | ||
| 45 | do_install:append() { | 45 | do_install:append() { |
| 46 | install -D -m 0755 ${WORKDIR}/nslcd.init ${D}${sysconfdir}/init.d/nslcd | 46 | install -D -m 0755 ${UNPACKDIR}/nslcd.init ${D}${sysconfdir}/init.d/nslcd |
| 47 | 47 | ||
| 48 | sed -i -e 's/^uid nslcd/# uid nslcd/;' ${D}${sysconfdir}/nslcd.conf | 48 | sed -i -e 's/^uid nslcd/# uid nslcd/;' ${D}${sysconfdir}/nslcd.conf |
| 49 | sed -i -e 's/^gid nslcd/# gid nslcd/;' ${D}${sysconfdir}/nslcd.conf | 49 | sed -i -e 's/^gid nslcd/# gid nslcd/;' ${D}${sysconfdir}/nslcd.conf |
| 50 | sed -i -e 's/^base dc=example,dc=com/base ${LDAP_DN}/;' ${D}${sysconfdir}/nslcd.conf | 50 | sed -i -e 's/^base dc=example,dc=com/base ${LDAP_DN}/;' ${D}${sysconfdir}/nslcd.conf |
| 51 | 51 | ||
| 52 | install -d ${D}${systemd_unitdir}/system | 52 | install -d ${D}${systemd_unitdir}/system |
| 53 | install -m 0644 ${WORKDIR}/nslcd.service ${D}${systemd_unitdir}/system | 53 | install -m 0644 ${UNPACKDIR}/nslcd.service ${D}${systemd_unitdir}/system |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | inherit update-rc.d systemd | 56 | inherit update-rc.d systemd |
