path: root/extras/hook-scripts/start/post
diff options
authorNiels de Vos <>2015-12-23 13:57:14 +0100
committerKaleb KEITHLEY <>2015-12-26 09:31:24 -0800
commit7ab8a1a3f4510a284b1686302624ec4252c95a6f (patch)
tree70537e0ec4e3889635baa05a39b60b590802ac57 /extras/hook-scripts/start/post
parent618f130ed0e653566db34878b36a2db34dcd6723 (diff)
build: use 'make install' to install the hook scripts
The installation should be the same on all distributions, and doing manual installation of files in the .spec is very ugly. This change adds the rules so that 'make install' places the hook scripts in the right location. Also, the hook script(s) for NFS-Ganesha should be part of the glusterfs-ganesha sub-package and got moved there. BUG: 1174765 Change-Id: Iba25a7a5112c7d40db4c10ff4a5ac7a5fb4f7c4e Signed-off-by: Niels de Vos <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Kaleb KEITHLEY <>
Diffstat (limited to 'extras/hook-scripts/start/post')
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/hook-scripts/start/post/ b/extras/hook-scripts/start/post/
index ad53233b1c9..03bb300c5c2 100644
--- a/extras/hook-scripts/start/post/
+++ b/extras/hook-scripts/start/post/
@@ -1 +1,4 @@
+hookdir = $(GLUSTERD_WORKDIR)/hooks/1/start/post/