glusterfs: fix indentation

This commit is contained in:
ajs124 2020-05-09 20:34:23 +02:00
parent 2be47f021a
commit faa621ce76

View File

@ -81,17 +81,17 @@ stdenv.mkDerivation
--replace '/bin/mount' '${utillinux}/bin/mount' --replace '/bin/mount' '${utillinux}/bin/mount'
''; '';
# Note that the VERSION file is something that is present in release tarballs # Note that the VERSION file is something that is present in release tarballs
# but not in git tags (at least not as of writing in v3.10.1). # but not in git tags (at least not as of writing in v3.10.1).
# That's why we have to create it. # That's why we have to create it.
# Without this, gluster (at least 3.10.1) will fail very late and cryptically, # Without this, gluster (at least 3.10.1) will fail very late and cryptically,
# for example when setting up geo-replication, with a message like # for example when setting up geo-replication, with a message like
# Staging of operation 'Volume Geo-replication Create' failed on localhost : Unable to fetch master volume details. Please check the master cluster and master volume. # Staging of operation 'Volume Geo-replication Create' failed on localhost : Unable to fetch master volume details. Please check the master cluster and master volume.
# What happens here is that the gverify.sh script tries to compare the versions, # What happens here is that the gverify.sh script tries to compare the versions,
# but fails when the version is empty. # but fails when the version is empty.
# See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705 # See upstream GlusterFS bug https://bugzilla.redhat.com/show_bug.cgi?id=1452705
preConfigure = '' preConfigure = ''
echo "v${s.version}" > VERSION echo "v${s.version}" > VERSION
./autogen.sh ./autogen.sh
export PYTHON=${python3}/bin/python export PYTHON=${python3}/bin/python
''; '';