diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2017-07-26 08:42:09 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-07-26 10:07:52 -0400 |
commit | 5bda0e0c27cef4b2bf73a6be8771778ddeece215 (patch) | |
tree | c094588f7508db9324ea3e11c6dc8965762eebed /recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch | |
parent | 4e05423f1542403651fe3e4623693aac857642bb (diff) | |
download | meta-cloud-services-5bda0e0c27cef4b2bf73a6be8771778ddeece215.tar.gz |
glusterfs: uprev to 3.11.1
* Add systemd support
* Drop the following patch which already fixed in upstream:
0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch')
-rw-r--r-- | recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch index 4e0379b..cbff10e 100644 --- a/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch +++ b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch | |||
@@ -2,24 +2,34 @@ The glusterfs code for installing start-up scripts checks for systemd | |||
2 | directories on the build host, and if it finds them, it chooses systemd | 2 | directories on the build host, and if it finds them, it chooses systemd |
3 | style scripts, otherwise init.d style scripts. This behavior might | 3 | style scripts, otherwise init.d style scripts. This behavior might |
4 | conceivably be suitable for self-hosted builds, but it's grossly broken | 4 | conceivably be suitable for self-hosted builds, but it's grossly broken |
5 | for cross-build environments. Since we want to install custom WR scripts | 5 | for cross-build environments. Since we want to install custom scripts |
6 | regardless of which script style we support, we patch glusterfs so that | 6 | regardless of which script style we support, we patch glusterfs so that |
7 | it doesn't install any of its default start-up scripts. | 7 | it doesn't install any of its default start-up scripts. |
8 | 8 | ||
9 | Upstream-Status: Inappropriate [WR-specific change] | 9 | Upstream-Status: Inappropriate [embedded specific] |
10 | |||
10 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | 11 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> |
12 | [Xulin: minor adjust to apply the patch] | ||
13 | Signed-off-by: Xulin Sun <xulin.sun@windriver.com> | ||
14 | [Yi: minor adjust to apply the patch on 3.11.1] | ||
15 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
11 | --- | 16 | --- |
12 | extras/Makefile.am | 2 +- | 17 | extras/Makefile.am | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 19 | ||
20 | diff --git a/extras/Makefile.am b/extras/Makefile.am | ||
21 | index 3af1103..8978dde 100644 | ||
15 | --- a/extras/Makefile.am | 22 | --- a/extras/Makefile.am |
16 | +++ b/extras/Makefile.am | 23 | +++ b/extras/Makefile.am |
17 | @@ -2,7 +2,7 @@ | 24 | @@ -4,7 +4,7 @@ addonexec_SCRIPTS = peer_add_secret_pub |
18 | EditorModedir = $(docdir) | 25 | EditorModedir = $(docdir) |
19 | EditorMode_DATA = glusterfs-mode.el glusterfs.vim | 26 | EditorMode_DATA = glusterfs-mode.el glusterfs.vim |
20 | 27 | ||
21 | -SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM | 28 | -SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \ |
22 | +SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM | 29 | +SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \ |
30 | $(GEOREP_EXTRAS_SUBDIR) snap_scheduler firewalld cliutils | ||
23 | 31 | ||
24 | confdir = $(sysconfdir)/glusterfs | 32 | confdir = $(sysconfdir)/glusterfs |
25 | conf_DATA = glusterfs-logrotate | 33 | -- |
34 | 1.9.1 | ||
35 | |||