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 <richard.yao@clusterhq.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2641
This commit is contained in:
Richard Yao
2014-08-29 14:16:41 -04:00
committed by Brian Behlendorf
parent d8d7826721
commit 60e9f69c97
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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 = \