diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2015-10-19 19:00:47 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-10-21 15:59:04 -0400 |
commit | 10b879d2ad80ceef883f99aad06003d130150812 (patch) | |
tree | b9abd7cd2ed3c368bc6bd93deffe3bed235307c4 /meta-networking/recipes-support | |
parent | 05b15b8cf12e6700cfde6f02a563d9048b1680a7 (diff) | |
download | meta-openembedded-contrib-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')
-rw-r--r-- | meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch | 25 | ||||
-rw-r--r-- | meta-networking/recipes-support/drbd/drbd-utils_8.9.3.bb | 1 |
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 0000000000..90dd1f8618 --- /dev/null +++ b/meta-networking/recipes-support/drbd/drbd-utils/0001-Makefile.in-fix-permission-bits-for-drbd.service.patch @@ -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 + 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 2971280a2b..44459b529c 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" 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" |