aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mount_zfs
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-08-29 14:16:41 -0400
committerBrian Behlendorf <[email protected]>2014-10-28 09:40:59 -0700
commit60e9f69c975b1ee40de2f91783e2817be44ec8a7 (patch)
tree1fbeccd81770385695c30f43d16f19183e066b3f /cmd/mount_zfs
parentd8d78267214b17ffa5f1f0ae0695d69bb8d6b767 (diff)
Make directory into which mount.zfs is installed configurable
Installing outside of the prefix is not permissible under Gentoo Prefix. The package manager will cause the installation process to fail if/when it sees this. I could script a workaround inside the ebuild, but it seemed to make more sense to make this more configurable. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2641
Diffstat (limited to 'cmd/mount_zfs')
-rw-r--r--cmd/mount_zfs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mount_zfs/Makefile.am b/cmd/mount_zfs/Makefile.am
index e5f3d083b..2e5663173 100644
--- a/cmd/mount_zfs/Makefile.am
+++ b/cmd/mount_zfs/Makefile.am
@@ -8,7 +8,7 @@ DEFAULT_INCLUDES += \
# Ignore the prefix for the mount helper. It must be installed in /sbin/
# because this path is hardcoded in the mount(8) for security reasons.
#
-sbindir=/sbin
+sbindir=$(mounthelperdir)
sbin_PROGRAMS = mount.zfs
mount_zfs_SOURCES = \