mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
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:
committed by
Brian Behlendorf
parent
d8d7826721
commit
60e9f69c97
@@ -0,0 +1,8 @@
|
||||
AC_DEFUN([ZFS_AC_CONFIG_USER_MOUNT_HELPER], [
|
||||
AC_ARG_WITH(mounthelperdir,
|
||||
AC_HELP_STRING([--with-mounthelperdir=DIR],
|
||||
[install mount.zfs in dir [[/sbin]]]),
|
||||
mounthelperdir=$withval,mounthelperdir=$sbindir)
|
||||
|
||||
AC_SUBST(mounthelperdir)
|
||||
])
|
||||
@@ -2,6 +2,7 @@ dnl #
|
||||
dnl # Default ZFS user configuration
|
||||
dnl #
|
||||
AC_DEFUN([ZFS_AC_CONFIG_USER], [
|
||||
ZFS_AC_CONFIG_USER_MOUNT_HELPER
|
||||
ZFS_AC_CONFIG_USER_UDEV
|
||||
ZFS_AC_CONFIG_USER_SYSTEMD
|
||||
ZFS_AC_CONFIG_USER_SYSVINIT
|
||||
|
||||
Reference in New Issue
Block a user