From 605e6388665f407b22ddf47d400f70b46d73f0b0 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Fri, 17 Feb 2023 13:27:50 -0500 Subject: [PATCH] Update Building ZFS.rst Add FreeBSD packages to the build instructions --- docs/Developer Resources/Building ZFS.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/Developer Resources/Building ZFS.rst b/docs/Developer Resources/Building ZFS.rst index a9f5b03..2c8a68a 100644 --- a/docs/Developer Resources/Building ZFS.rst +++ b/docs/Developer Resources/Building ZFS.rst @@ -56,6 +56,12 @@ The following dependencies should be installed to build the latest ZFS sudo apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev linux-headers-generic python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev debhelper-compat dh-python po-debconf python3-all-dev python3-sphinx +- **FreeBSD**: + +.. code:: sh + + pkg install autoconf automake autotools git gmake python devel/py-sysctl sudo + Build Options ~~~~~~~~~~~~~ @@ -195,6 +201,12 @@ additional utilities must be installed. sudo apt install ksh bc bzip2 fio acl sysstat mdadm lsscsi parted attr dbench nfs-kernel-server samba rng-tools pax linux-tools-common selinux-utils quota +- **FreeBSD**: + +.. code:: sh + + pkg install base64 bash checkbashisms fio hs-ShellCheck ksh93 pamtester devel/py-flake8 sudo + There are a few helper scripts provided in the top-level scripts directory designed to aid developers working with in-tree builds.