Building archzfs

Jan Houben edited this page May 11, 2018 · 2 revisions

Prerequisites

  1. install clean-chroot-manageraur
  2. Edit ~/.config/clean-chroot-manager.conf and set CHROOTPATH64 to a valid path (run ccm64 to generate a basic config file)
  3. Clone this repository
$ git clone https://github.com/archzfs/archzfs.git
$ cd archzfs
  1. Edit config.sh and update at least makepkg_nonpriv_user

Building

To build any of the available zfs packages, you have to build the common packages first.

# ./build.sh common update
# ./build.sh common make
# ./build.sh common-git update
# ./build.sh common-git make

You can now build modules for one of the available kernels

# ./build.sh std update
# ./build.sh std make

Available kernel configs:

  • std: default linux kernel
  • lts: linux-lts
  • hardened: linux-hardened
  • zen: linux-zen
  • vfio: linux-vfio
  • dkms: dkms packages

If everything worked, the build packages are now in packages/<kernel>

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.