[Buildroot] [git commit branch/2017.02.x] package/nss-pam-ldapd: Do not mark .service file executable

Peter Korsgaard peter at korsgaard.com
Wed Sep 6 10:31:25 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=aac336dfd70c50a21098f12784d5236b7d4f0cfb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

Do not mark .service file executable, otherwise systemd
will give us a warning about it.

Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 06cf5c1812e13e9ffd5d4040f2dbaf0f41a8e181)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/nss-pam-ldapd/nss-pam-ldapd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/nss-pam-ldapd/nss-pam-ldapd.mk b/package/nss-pam-ldapd/nss-pam-ldapd.mk
index ba25082..f588e15 100644
--- a/package/nss-pam-ldapd/nss-pam-ldapd.mk
+++ b/package/nss-pam-ldapd/nss-pam-ldapd.mk
@@ -27,7 +27,7 @@ NSS_PAM_LDAPD_CONF_OPTS += --disable-pam
 endif
 
 define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD
-	$(INSTALL) -m 755 -D package/nss-pam-ldapd/nslcd.service \
+	$(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \
 		$(TARGET_DIR)/usr/lib/systemd/system/nslcd.service
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 	ln -fs ../../../../usr/lib/systemd/system/nslcd.service \


More information about the buildroot mailing list