summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2015-03-30 17:44:50 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-02 03:06:58 -0700
commit4a339be28a715aa22d8d07b3137920edea8a1c4a (patch)
tree9bc3164bd53de41387168dedc0c70a276af2b9be /glusterfs.spec.in
parent7616738176f44cce8b6cfb0e1f65be8e1dc72f49 (diff)
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 <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/10051 Reviewed-by: Aravinda VK <avishwan@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 9390bb24137..53b0c8ed602 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -711,10 +711,6 @@ mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/nfs/run
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/nfs-server.vol
touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
-%if ( 0%{!?_without_georeplication:1} )
-install -p -m 0744 extras/hook-scripts/S56glusterd-geo-rep-create-post.sh \
- %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/gsync-create/post
-%endif
%{__install} -p -m 0744 extras/hook-scripts/start/post/*.sh \
%{buildroot}%{_sharedstatedir}/glusterd/hooks/1/start/post
%{__install} -p -m 0744 extras/hook-scripts/stop/pre/*.sh \