-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: do not hardcode paths outside of $prefix
This fixes behavior of the build system when a prefix other than `/usr` is provided. Specifically, this change makes it possible to build ZFS utils with `--prefix=` set to a user-writable directory (such as `$HOME/...`) and successfully run `make install` without superuser privileges. Signed-off-by: Ivan Shapovalov <[email protected]>
- Loading branch information
Showing
6 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
AC_DEFUN([ZFS_AC_CONFIG_USER_MOUNT_HELPER], [ | ||
AC_ARG_WITH(mounthelperdir, | ||
AS_HELP_STRING([--with-mounthelperdir=DIR], | ||
[install mount.zfs in dir [[/sbin]]]), | ||
mounthelperdir=$withval,mounthelperdir=/sbin) | ||
[install mount.zfs in dir [[$sbindir]]]), | ||
mounthelperdir=$withval,mounthelperdir=$sbindir) | ||
AC_SUBST(mounthelperdir) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
i_tdir = /usr/share/initramfs-tools | ||
i_tdir = $(datarootdir)/initramfs-tools | ||
dist_i_t_SCRIPTS = \ | ||
%D%/zfsunlock | ||
|
||
|