drbd: fix permission bits of drbd.service

The permission bits should be 0644 instead of 0755.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Qi.Chen@windriver.com 2015-10-19 19:00:47 +08:00 committed by Joe MacDonald
parent 05b15b8cf1
commit 10b879d2ad
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
Upstream-Status: Pending
Subject: Makefile.in: fix permission bits for drbd.service
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
scripts/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
index 402b93b..4a45407 100644
--- a/scripts/Makefile.in
+++ b/scripts/Makefile.in
@@ -65,7 +65,7 @@ endif
# yes, debian apparently allows installing both types from the same package
ifneq ($(initscripttype),sysv) # "systemd" or "both"
install -d $(DESTDIR)$(systemdunitdir)
- install -m 755 drbd.service $(DESTDIR)$(systemdunitdir)/
+ install -m 644 drbd.service $(DESTDIR)$(systemdunitdir)/
install -d $(DESTDIR)/lib/drbd/
install -m 755 drbd $(DESTDIR)/lib/drbd/
install -d $(DESTDIR)$(tmpfilesdir)/
--
1.9.1

View File

@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
SRC_URI = "http://oss.linbit.com/drbd/${BP}.tar.gz \
file://0001-Makefile.in-don-t-compile-documentation.patch \
file://0001-Makefile.in-fix-permission-bits-for-drbd.service.patch \
"
SRC_URI[md5sum] = "09c9c33c041e1f4f85dd359f9e0b0f24"
SRC_URI[sha256sum] = "011050578c153bf4fef86e03749304ff9f333b7af3512c5c395e0e870a0445bd"