mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
OpenZFS release 2.2.7 Notable upstream pull request merges: #15457022bf8637Increase L2ARC write rate and headroom #155271ba5b2ef8freebsd: remove __FBSDID macro use #157929e7af55e8Add custom debug printing for your asserts #15793a1ea40af8libzfs: use zfs_strerror() in place of strerror() #16181 -multiple zdb/ztest: improve and harmonise crash output #16208e5e4957a5Allow block cloning to be interrupted by a signal #16210ba4e582a6FreeBSD: Add const qualifier to members of struct opensolaris_utsname #16225a6198f34bSimplify issig() #1633525ec9a903zdb: fix BRT dump #16364cf80a803dzvol: ensure device minors are properly cleaned up #16404384b53be8FreeBSD: Add missing memory reclamation accounting #16492 -multiple Split "shared" userspace & kernel code into separate files #16496f1694496azfs_file: rename zfs_file_fallocate to zfs_file_deallocate #16511bc0d89bfcFix an uninitialized data access #165292dc8529d9Fix handling of DNS names with '-' in them for sharenfs #1653930ea44296zfs_log: add flex array fields to log record structs #16546098789216Evicting too many bytes from MFU metadata #1655154278533aReduce and handle EAGAIN errors on AIO label reads #1655484ad1d536FreeBSD: restore zfs_znode_update_vfs() #1656521c40e6d9FreeBSD: Sync taskq_cancel_id() returns with Linux #1656748482bb2fProperly release key in spa_keystore_dsl_key_hold_dd() #16584e8f4592a1Avoid computing strlen() inside loops #16605acc8a3186ARC: Cache arc_c value during arc_evict() #16650fc60e0c6efreebsd: Use compiler.h from FreeBSD's base's linuxkpi #16667b32b35ceazdb: show bp in uberblock dump #166841f5e1b919Pack dmu_buf_impl_t by 16 bytes #1668873b3e8aceFix gcc uninitialized warning in FreeBSD zio_crypt.c #16690727506c94On the first vdev open ignore impossible ashift hints #16692d83cd5307zdb: add extra -T flag to show histograms of BRT refcounts #1669382ab837a0Fix gcc unused value warning in FreeBSD simd.h #167402bba6e3c5BRT: Don't call brt_pending_remove() on holes/embedded #16801299da6aceFix race in libzfs_run_process_impl Obtained from: OpenZFS OpenZFS commit:e269af1b3cOpenZFS tag: zfs-2.2.7
96 lines
2.9 KiB
Makefile
96 lines
2.9 KiB
Makefile
scriptsdir = $(datadir)/$(PACKAGE)
|
|
dist_noinst_SCRIPTS = \
|
|
%D%/commitcheck.sh \
|
|
%D%/common.sh.in \
|
|
%D%/dkms.mkconf \
|
|
%D%/dkms.postbuild \
|
|
%D%/kmodtool \
|
|
%D%/make_gitrev.sh \
|
|
%D%/man-dates.sh \
|
|
%D%/mancheck.sh \
|
|
%D%/paxcheck.sh \
|
|
%D%/zfs-tests-color.sh
|
|
|
|
scripts_scripts = \
|
|
%D%/zfs-helpers.sh \
|
|
%D%/zfs-tests.sh \
|
|
%D%/zfs.sh \
|
|
%D%/zimport.sh \
|
|
%D%/zloop.sh
|
|
|
|
if CONFIG_USER
|
|
dist_scripts_SCRIPTS = $(scripts_scripts)
|
|
dist_zfsexec_SCRIPTS = \
|
|
%D%/zfs_prepare_disk
|
|
else
|
|
dist_noinst_SCRIPTS += $(scripts_scripts)
|
|
endif
|
|
|
|
dist_noinst_DATA += \
|
|
%D%/cstyle.pl \
|
|
%D%/update_authors.pl \
|
|
%D%/zfs2zol-patch.sed \
|
|
%D%/zol2zfs-patch.sed
|
|
|
|
SHELLCHECKSCRIPTS += $(dist_scripts_SCRIPTS) $(dist_noinst_SCRIPTS)
|
|
|
|
define SCRIPTS_EXTRA_ENVIRONMENT
|
|
|
|
# Only required for in-tree use
|
|
export INTREE="yes"
|
|
export GDB="libtool --mode=execute gdb"
|
|
export LDMOD=/sbin/insmod
|
|
|
|
export CMD_DIR=$(abs_top_builddir)
|
|
export UDEV_SCRIPT_DIR=$(abs_top_srcdir)/udev
|
|
export UDEV_CMD_DIR=$(abs_top_builddir)/udev
|
|
export UDEV_RULE_DIR=$(abs_top_builddir)/udev/rules.d
|
|
export ZEDLET_ETC_DIR=$$CMD_DIR/cmd/zed/zed.d
|
|
export ZEDLET_LIBEXEC_DIR=$$CMD_DIR/cmd/zed/zed.d
|
|
export ZPOOL_SCRIPT_DIR=$$CMD_DIR/cmd/zpool/zpool.d
|
|
export ZPOOL_SCRIPTS_PATH=$$CMD_DIR/cmd/zpool/zpool.d
|
|
export ZPOOL_COMPAT_DIR=$$CMD_DIR/cmd/zpool/compatibility.d
|
|
export CONTRIB_DIR=$(abs_top_builddir)/contrib
|
|
export LIB_DIR=$(abs_top_builddir)/.libs
|
|
export SYSCONF_DIR=$(abs_top_builddir)/etc
|
|
|
|
export INSTALL_UDEV_DIR=$(udevdir)
|
|
export INSTALL_UDEV_RULE_DIR=$(udevruledir)
|
|
export INSTALL_MOUNT_HELPER_DIR=$(mounthelperdir)
|
|
export INSTALL_SYSCONF_DIR=$(sysconfdir)
|
|
export INSTALL_PYTHON_DIR=$(pythonsitedir)
|
|
|
|
export KMOD_SPL=$(abs_top_builddir)/module/spl.ko
|
|
export KMOD_ZFS=$(abs_top_builddir)/module/zfs.ko
|
|
export KMOD_FREEBSD=$(abs_top_builddir)/module/openzfs.ko
|
|
endef
|
|
|
|
export SCRIPTS_EXTRA_ENVIRONMENT
|
|
|
|
CLEANFILES += %D%/common.sh
|
|
%D%/common.sh: %D%/common.sh.in Makefile
|
|
-$(AM_V_at)$(MKDIR_P) $(@D)
|
|
-$(AM_V_GEN)$(SED) -e '/^export BIN_DIR=/s|$$|$(abs_top_builddir)/tests/zfs-tests/bin|' \
|
|
-e '/^export SBIN_DIR=/s|$$|$(abs_top_builddir)|' \
|
|
-e '/^export LIBEXEC_DIR=/s|$$|$(abs_top_builddir)|' \
|
|
-e '/^export ZTS_DIR=/s|$$|$(abs_top_srcdir)/tests|' \
|
|
-e '/^export SCRIPT_DIR=/s|$$|$(abs_top_srcdir)/scripts|' \
|
|
$< >$@
|
|
-$(AM_V_at)echo "$$SCRIPTS_EXTRA_ENVIRONMENT" >>$@
|
|
|
|
ALL_LOCAL += scripts-all-local
|
|
scripts-all-local: %D%/common.sh
|
|
-SCRIPT_COMMON=$< $(srcdir)/%D%/zfs-tests.sh -c
|
|
|
|
CLEAN_LOCAL += scripts-clean-local
|
|
scripts-clean-local:
|
|
-$(RM) -r tests/zfs-tests/bin/
|
|
|
|
INSTALL_DATA_HOOKS += scripts-install-data-hook
|
|
scripts-install-data-hook: %D%/common.sh.in Makefile
|
|
-$(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)|' \
|
|
$< >$(DESTDIR)$(datadir)/$(PACKAGE)/common.sh
|