aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2017-06-28 16:52:48 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-06-29 15:27:21 -0400
commit1e7567ad8eef3a3b1aa3c60f71d7eff507f6aefa (patch)
tree9910165334e79448e36853130c9e92c473e88eb1 /recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
parent487a535eb568ed9e71da20ad73b8c08892660163 (diff)
downloadmeta-cloud-services-1e7567ad8eef3a3b1aa3c60f71d7eff507f6aefa.tar.gz
meta-cloud-services-1e7567ad8eef3a3b1aa3c60f71d7eff507f6aefa.tar.bz2
meta-cloud-services-1e7567ad8eef3a3b1aa3c60f71d7eff507f6aefa.zip
glusterfs: Move from meta-openstack to meta-cloud-servicespyro
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.patch25
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 00000000..4e0379ba
--- /dev/null
+++ b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
@@ -0,0 +1,25 @@
+The glusterfs code for installing start-up scripts checks for systemd
+directories on the build host, and if it finds them, it chooses systemd
+style scripts, otherwise init.d style scripts. This behavior might
+conceivably be suitable for self-hosted builds, but it's grossly broken
+for cross-build environments. Since we want to install custom WR scripts
+regardless of which script style we support, we patch glusterfs so that
+it doesn't install any of its default start-up scripts.
+
+Upstream-Status: Inappropriate [WR-specific change]
+Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
+---
+ extras/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/extras/Makefile.am
++++ b/extras/Makefile.am
+@@ -2,7 +2,7 @@
+ EditorModedir = $(docdir)
+ EditorMode_DATA = glusterfs-mode.el glusterfs.vim
+
+-SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM
++SUBDIRS = benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM
+
+ confdir = $(sysconfdir)/glusterfs
+ conf_DATA = glusterfs-logrotate