diff options
author | He Zhe <zhe.he@windriver.com> | 2017-06-28 16:52:48 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-06-29 15:27:41 -0400 |
commit | 0e69d346e4158cd501bc6a9f3a44e60123e9ba7b (patch) | |
tree | e6572857ebca2f7279a21e0f195b24025bfea4ed /recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch | |
parent | fea2e20227138b90ee406bf4e2c9fca5532c547a (diff) | |
download | meta-cloud-services-0e69d346e4158cd501bc6a9f3a44e60123e9ba7b.tar.gz |
glusterfs: Move from meta-openstack to meta-cloud-services
It's not an openstack specific package.
Signed-off-by: He Zhe <zhe.he@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 | 25 |
1 files changed, 25 insertions, 0 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 new file mode 100644 index 0000000..4e0379b --- /dev/null +++ b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | 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 | ||
3 | style scripts, otherwise init.d style scripts. This behavior might | ||
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 | ||
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. | ||
8 | |||
9 | Upstream-Status: Inappropriate [WR-specific change] | ||
10 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | ||
11 | --- | ||
12 | extras/Makefile.am | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | --- a/extras/Makefile.am | ||
16 | +++ b/extras/Makefile.am | ||
17 | @@ -2,7 +2,7 @@ | ||
18 | EditorModedir = $(docdir) | ||
19 | EditorMode_DATA = glusterfs-mode.el glusterfs.vim | ||
20 | |||
21 | -SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM | ||
22 | +SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM | ||
23 | |||
24 | confdir = $(sysconfdir)/glusterfs | ||
25 | conf_DATA = glusterfs-logrotate | ||