summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2019-06-12 15:41:27 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2019-07-16 05:02:47 +0000
commit08f8a3b8ea85cae64083f0425c7cee9500d27a16 (patch)
tree6a012ae5315fb4e36d6ab5e84f8ce313e15c729e /glusterfs.spec.in
parent99977a7b694f6ee137e7b749f04e0cc744dd17e3 (diff)
extras/hooks: Install and package newly added post add-brick hook script
https://review.gluster.org/c/glusterfs/+/22913 added a new SELinux hook script as a post add-brick operation to label new brick paths. But the change failed to install and package new script. Therefore making necessary changes to Makefile and spec file to get it installed and packaged. Backport of: > Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225 > fixes: bz#1717953 > Signed-off-by: Anoop C S <anoopcs@redhat.com> Change-Id: I67b8f4982c2783c34a4bc749fb4387c19a038225 fixes: bz#1718227 Signed-off-by: Anoop C S <anoopcs@redhat.com> (cherry picked from commit 647a1b83fa39a635b01fcba38a330485fcd6afdb)
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index c655f16442e..2d53bbe7525 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1330,6 +1330,7 @@ exit 0
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post
%attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
+ %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/S10selinux-label-brick.sh
%attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/post/S13create-subdir-mounts.sh
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/pre
%attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/add-brick/pre/S28Quota-enable-root-xattr-heal.sh