summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/drbd
diff options
context:
space:
mode:
authorQi.Chen@windriver.com <Qi.Chen@windriver.com>2015-10-19 19:00:47 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-10-21 15:59:04 -0400
commit10b879d2ad80ceef883f99aad06003d130150812 (patch)
treeb9abd7cd2ed3c368bc6bd93deffe3bed235307c4 /meta-networking/recipes-support/drbd
parent05b15b8cf12e6700cfde6f02a563d9048b1680a7 (diff)
downloadmeta-openembedded-10b879d2ad80ceef883f99aad06003d130150812.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-support/drbd')
-rw-r--r--meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch25
-rw-r--r--meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch b/meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch
new file mode 100644
index 000000000..90dd1f861
--- /dev/null
+++ b/meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Pending
2
3Subject: Makefile.in: fix permission bits for drbd.service
4
5Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
6---
7 scripts/Makefile.in | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/scripts/Makefile.in b/scripts/Makefile.in
11index 402b93b..4a45407 100644
12--- a/scripts/Makefile.in
13+++ b/scripts/Makefile.in
14@@ -65,7 +65,7 @@ endif
15 # yes, debian apparently allows installing both types from the same package
16 ifneq ($(initscripttype),sysv) # "systemd" or "both"
17 install -d $(DESTDIR)$(systemdunitdir)
18- install -m 755 drbd.service $(DESTDIR)$(systemdunitdir)/
19+ install -m 644 drbd.service $(DESTDIR)$(systemdunitdir)/
20 install -d $(DESTDIR)/lib/drbd/
21 install -m 755 drbd $(DESTDIR)/lib/drbd/
22 install -d $(DESTDIR)$(tmpfilesdir)/
23--
241.9.1
25
diff --git a/meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb b/meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb
index 2971280a2..44459b529 100644
--- a/meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb
+++ b/meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
10 10
11SRC_URI = "http://oss.linbit.com/drbd/${BP}.tar.gz \ 11SRC_URI = "http://oss.linbit.com/drbd/${BP}.tar.gz \
12 file://0001-Makefile.in-don-t-compile-documentation.patch \ 12 file://0001-Makefile.in-don-t-compile-documentation.patch \
13 file://0001-Makefile.in-fix-permission-bits-for-drbd.service.patch \
13 " 14 "
14SRC_URI[md5sum] = "09c9c33c041e1f4f85dd359f9e0b0f24" 15SRC_URI[md5sum] = "09c9c33c041e1f4f85dd359f9e0b0f24"
15SRC_URI[sha256sum] = "011050578c153bf4fef86e03749304ff9f333b7af3512c5c395e0e870a0445bd" 16SRC_URI[sha256sum] = "011050578c153bf4fef86e03749304ff9f333b7af3512c5c395e0e870a0445bd"