mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
zpool_influxdb: move to libexec dir
Move the zpool_influxdb command to /usr/libexec/zfs, and include the /usr/libexec/zfs path in the system search directory when running the test suite. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Snajdr <snajpa@snajpa.net> Closes #11156 Closes #11160 Closes #11224
This commit is contained in:
@@ -61,6 +61,7 @@ export EXTRA_ENVIRONMENT
|
||||
all-local:
|
||||
-$(SED) -e '\|^export BIN_DIR=|s|$$|@abs_top_builddir@/bin|' \
|
||||
-e '\|^export SBIN_DIR=|s|$$|@abs_top_builddir@/bin|' \
|
||||
-e '\|^export LIBEXEC_DIR=|s|$$|@abs_top_builddir@/bin|' \
|
||||
-e '\|^export ZTS_DIR=|s|$$|@abs_top_srcdir@/tests|' \
|
||||
-e '\|^export SCRIPT_DIR=|s|$$|@abs_top_srcdir@/scripts|' \
|
||||
$(abs_top_srcdir)/scripts/common.sh.in >common.sh
|
||||
@@ -72,6 +73,7 @@ clean-local:
|
||||
install-data-hook:
|
||||
-$(SED) -e '\|^export BIN_DIR=|s|$$|@bindir@|' \
|
||||
-e '\|^export SBIN_DIR=|s|$$|@sbindir@|' \
|
||||
-e '\|^export LIBEXEC_DIR=|s|$$|@zfsexecdir@|' \
|
||||
-e '\|^export ZTS_DIR=|s|$$|@datadir@/@PACKAGE@|' \
|
||||
-e '\|^export SCRIPT_DIR=|s|$$|@datadir@/@PACKAGE@|' \
|
||||
$(abs_top_srcdir)/scripts/common.sh.in \
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# Directories
|
||||
export BIN_DIR=
|
||||
export SBIN_DIR=
|
||||
export LIBEXEC_DIR=
|
||||
export ZTS_DIR=
|
||||
export SCRIPT_DIR=
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ constrain_path() {
|
||||
# install to /usr/local/sbin. To avoid testing the wrong utils we
|
||||
# need /usr/local to come before / in the path search order.
|
||||
SYSTEM_DIRS="/usr/local/bin /usr/local/sbin"
|
||||
SYSTEM_DIRS="$SYSTEM_DIRS /usr/bin /usr/sbin /bin /sbin"
|
||||
SYSTEM_DIRS="$SYSTEM_DIRS /usr/bin /usr/sbin /bin /sbin $LIBEXEC_DIR"
|
||||
|
||||
if [ "$INTREE" = "yes" ]; then
|
||||
# Constrained path set to ./zfs/bin/
|
||||
|
||||
Reference in New Issue
Block a user