diff options
author | Antonio Russo <antonio.e.russo@gmail.com> | 2018-06-07 16:59:59 +0000 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2018-06-07 16:59:59 +0000 |
commit | 39042f97365c0e677e5e77ded90372526422afdf (patch) | |
tree | feaf6e681cc3b9bd677bfd442b4e54e14c1b8a33 /tests/zfs-tests/include/default.cfg.in | |
parent | fba33c3819761487a75c8f1307482959105a6269 (diff) | |
download | src-39042f97365c0e677e5e77ded90372526422afdf.tar.gz src-39042f97365c0e677e5e77ded90372526422afdf.zip |
Tunable directory for zfs runtime scripts
zpool and zed place scripts in subdirectories of libexecdir. Some
distributions locate architecture independent scripts in other locations
(e.g. Debian). To avoid these paths getting out of sync, centralize the
definitions.
Build zfs-test's default.cfg by Makefile. Use the new directory
logic building tests/zfs-tests/include/default.cfg.in.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #7597
Diffstat (limited to 'tests/zfs-tests/include/default.cfg.in')
-rw-r--r-- | tests/zfs-tests/include/default.cfg.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/zfs-tests/include/default.cfg.in b/tests/zfs-tests/include/default.cfg.in index 90d1d8bd69b3..e1e2a7e91f9c 100644 --- a/tests/zfs-tests/include/default.cfg.in +++ b/tests/zfs-tests/include/default.cfg.in @@ -33,10 +33,8 @@ . $STF_SUITE/include/libtest.shlib # ZFS Directories -export prefix=@prefix@ -export exec_prefix=@exec_prefix@ export ZEDLET_ETC_DIR=${ZEDLET_ETC_DIR:-@sysconfdir@/zfs/zed.d} -export ZEDLET_LIBEXEC_DIR=${ZEDLET_LIBEXEC_DIR:-@libexecdir@/zfs/zed.d} +export ZEDLET_LIBEXEC_DIR=${ZEDLET_LIBEXEC_DIR:-@zfsexecdir@/zed.d} export ZPOOL_SCRIPT_DIR=${ZPOOL_SCRIPT_DIR:-@sysconfdir@/zfs/zpool.d} # Define run length constants |