51 lines
2.1 KiB
Bash
51 lines
2.1 KiB
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Directories
|
||
|
export BIN_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/bin
|
||
|
export SBIN_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/bin
|
||
|
export ZTS_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/tests
|
||
|
export SCRIPT_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/scripts
|
||
|
|
||
|
# General commands
|
||
|
export ZDB=${ZDB:-$SBIN_DIR/zdb}
|
||
|
export ZFS=${ZFS:-$SBIN_DIR/zfs}
|
||
|
export ZPOOL=${ZPOOL:-$SBIN_DIR/zpool}
|
||
|
export ZTEST=${ZTEST:-$SBIN_DIR/ztest}
|
||
|
export ZFS_SH=${ZFS_SH:-$SCRIPT_DIR/zfs.sh}
|
||
|
|
||
|
# Test Suite
|
||
|
export RUNFILE_DIR=${RUNFILE_DIR:-$ZTS_DIR/runfiles}
|
||
|
export TEST_RUNNER=${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}
|
||
|
export ZTS_REPORT=${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}
|
||
|
export STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
|
||
|
export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}
|
||
|
|
||
|
# Only required for in-tree use
|
||
|
export INTREE="yes"
|
||
|
export GDB="/usr/bin/libtool --mode=execute gdb"
|
||
|
export LDMOD=/sbin/insmod
|
||
|
|
||
|
export CMD_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/cmd
|
||
|
export UDEV_RULE_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/udev/rules.d
|
||
|
export ZEDLET_ETC_DIR=$CMD_DIR/zed/zed.d
|
||
|
export ZEDLET_LIBEXEC_DIR=$CMD_DIR/zed/zed.d
|
||
|
export ZPOOL_SCRIPT_DIR=$CMD_DIR/zpool/zpool.d
|
||
|
export ZPOOL_SCRIPTS_PATH=$CMD_DIR/zpool/zpool.d
|
||
|
export CONTRIB_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/contrib
|
||
|
export LIB_DIR=/root/src/zfs-builds-mm/zfs-0.8.3/lib
|
||
|
|
||
|
export INSTALL_UDEV_DIR=/lib/udev
|
||
|
export INSTALL_UDEV_RULE_DIR=/lib/udev/rules.d
|
||
|
export INSTALL_MOUNT_HELPER_DIR=/sbin
|
||
|
export INSTALL_SYSCONF_DIR=/usr/local/etc
|
||
|
export INSTALL_PYTHON_DIR=/usr/lib/python3/dist-packages
|
||
|
|
||
|
export KMOD_SPL=/root/src/zfs-builds-mm/zfs-0.8.3/module/spl/spl.ko
|
||
|
export KMOD_ZAVL=/root/src/zfs-builds-mm/zfs-0.8.3/module/avl/zavl.ko
|
||
|
export KMOD_ZNVPAIR=/root/src/zfs-builds-mm/zfs-0.8.3/module/nvpair/znvpair.ko
|
||
|
export KMOD_ZUNICODE=/root/src/zfs-builds-mm/zfs-0.8.3/module/unicode/zunicode.ko
|
||
|
export KMOD_ZCOMMON=/root/src/zfs-builds-mm/zfs-0.8.3/module/zcommon/zcommon.ko
|
||
|
export KMOD_ZLUA=/root/src/zfs-builds-mm/zfs-0.8.3/module/lua/zlua.ko
|
||
|
export KMOD_ICP=/root/src/zfs-builds-mm/zfs-0.8.3/module/icp/icp.ko
|
||
|
export KMOD_ZFS=/root/src/zfs-builds-mm/zfs-0.8.3/module/zfs/zfs.ko
|