mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-05-09 18:28:27 +03:00
ZTS: Fix zpool_status_features_001_pos local test (#17174)
Update 'zfs-helpers.sh -i' to install the compatibility.d/ file symlinks. These are need to run the zpool_status_features_001_pos test from a local workspace (as opposed to running ZTS from a formal 'make install' or install from RPMs, which are unaffected). Signed-off-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: @ImAwsumm Reviewed-by: Alexander Motin <mav@FreeBSD.org>
This commit is contained in:
parent
fd018248d5
commit
885f87fa3e
@ -59,6 +59,7 @@ export INSTALL_UDEV_RULE_DIR=$(udevruledir)
|
||||
export INSTALL_MOUNT_HELPER_DIR=$(mounthelperdir)
|
||||
export INSTALL_SYSCONF_DIR=$(sysconfdir)
|
||||
export INSTALL_PYTHON_DIR=$(pythonsitedir)
|
||||
export INSTALL_PKGDATA_DIR=$(pkgdatadir)
|
||||
|
||||
export KMOD_SPL=$(abs_top_builddir)/module/spl.ko
|
||||
export KMOD_ZFS=$(abs_top_builddir)/module/zfs.ko
|
||||
|
@ -163,6 +163,7 @@ if [ "${INSTALL}" = "yes" ]; then
|
||||
install "$UDEV_RULE_DIR/$rule" "$INSTALL_UDEV_RULE_DIR/$rule"
|
||||
done
|
||||
install "$ZPOOL_SCRIPT_DIR" "$INSTALL_SYSCONF_DIR/zfs/zpool.d"
|
||||
install "$ZPOOL_COMPAT_DIR" "$INSTALL_PKGDATA_DIR/compatibility.d"
|
||||
install "$CONTRIB_DIR/pyzfs/libzfs_core" "$INSTALL_PYTHON_DIR/libzfs_core"
|
||||
# Ideally we would install these in the configured ${libdir}, which is
|
||||
# by default "/usr/local/lib and unfortunately not included in the
|
||||
@ -179,6 +180,7 @@ else
|
||||
remove "$INSTALL_UDEV_RULE_DIR/69-vdev.rules"
|
||||
remove "$INSTALL_UDEV_RULE_DIR/90-zfs.rules"
|
||||
remove "$INSTALL_SYSCONF_DIR/zfs/zpool.d"
|
||||
remove "$INSTALL_PKGDATA_DIR/compatibility.d"
|
||||
remove "$INSTALL_PYTHON_DIR/libzfs_core"
|
||||
remove "/lib/libzfs_core.so"
|
||||
remove "/lib/libnvpair.so"
|
||||
|
Loading…
Reference in New Issue
Block a user