nixos/glusterfs: exclude hook "S10selinux-label-brick.sh"

fails due to missing selinux binaries
This commit is contained in:
Astro 2022-03-04 01:58:04 +01:00
parent 313249641d
commit 06ea5e780b

View file

@ -159,9 +159,10 @@ in
install -m 0755 -d /var/log/glusterfs
''
# The copying of hooks is due to upstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1452761
# Excludes one hook due to missing SELinux binaries.
+ ''
mkdir -p /var/lib/glusterd/hooks/
${rsync}/bin/rsync -a ${glusterfs}/var/lib/glusterd/hooks/ /var/lib/glusterd/hooks/
${rsync}/bin/rsync -a --exclude="S10selinux-label-brick.sh" ${glusterfs}/var/lib/glusterd/hooks/ /var/lib/glusterd/hooks/
${tlsCmd}
''