From 4a339be28a715aa22d8d07b3137920edea8a1c4a Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Mon, 30 Mar 2015 17:44:50 +0530 Subject: geo-rep: Copy geo-rep hook-script during source install The hook-script S56glusterd-geo-rep-create-post.sh was not copying to glusterd working directory when geo-rep is installed through source. Hence the geo-rep create fails unless the script is manually copied. This patch addresses the issue by copying the hook-script during make install. Change-Id: I185a877ed720e8300f0e888ab481d0c8c23bf815 BUG: 1207201 Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/10051 Reviewed-by: Aravinda VK Reviewed-by: Niels de Vos Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- extras/hook-scripts/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extras/hook-scripts') diff --git a/extras/hook-scripts/Makefile.am b/extras/hook-scripts/Makefile.am index 4a1adb3d5db..fa126f90591 100644 --- a/extras/hook-scripts/Makefile.am +++ b/extras/hook-scripts/Makefile.am @@ -1,2 +1,5 @@ EXTRA_DIST = S40ufo-stop.py S56glusterd-geo-rep-create-post.sh SUBDIRS = add-brick set start stop reset + +scriptsdir = $(GLUSTERD_WORKDIR)/hooks/1/gsync-create/post/ +scripts_SCRIPTS = S56glusterd-geo-rep-create-post.sh -- cgit