Merge pull request #87417 from helsinki-systems/fix/glusterfs_snapshots

glusterfs: fix snapshots
This commit is contained in:
Michael Raskin 2020-05-09 20:40:21 +00:00 committed by GitHub
commit e15ab2cda7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,12 @@ stdenv.mkDerivation
postPatch = ''
sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
substituteInPlace libglusterfs/src/glusterfs/lvm-defaults.h \
--replace '/sbin/' '${lvm2}/bin/'
substituteInPlace libglusterfs/src/glusterfs/compat.h \
--replace '/bin/umount' '${utillinux}/bin/umount'
substituteInPlace contrib/fuse-lib/mount-gluster-compat.h \
--replace '/bin/mount' '${utillinux}/bin/mount'
'';
# Note that the VERSION file is something that is present in release tarballs