-
Notifications
You must be signed in to change notification settings - Fork 51
Building archzfs
Amy edited this page May 12, 2024
·
5 revisions
- install clean-chroot-manageraur
- Edit
~/.config/clean-chroot-manager.conf
and setCHROOTPATH64
to a valid path (runccm64 p
as root to generate a basic config file) - Clone this repository
$ git clone https://github.com/archzfs/archzfs.git
$ cd archzfs
- Edit
conf.sh
and update at leastmakepkg_nonpriv_user
To build any of the available zfs packages, you have to build the utils packages first.
# ./build.sh utils update make
# ./build.sh utils 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>
You can combine multiple calls of build.sh
:
# ./build.sh utils std lts update make
This will create the PKGBUILDS and build the utils, linux and linux-lts package in one command.
To build all available packages you can use ./build.sh all update make