Skip to content

averyfreeman/zfs-kernel-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zfs kernel builder

Note: May update for kernel v6 Ubuntu and Proxmox (proxmox uses Ubuntu kernels), if you have suggestions, please submit a PR.


The stability of zfs as an in-tree module

  • compiles zfs modules into kernel
  • renders zfs-initramfs, zfs-dracut, zfs-dkms packages unnecessary
  • build specified zfs package (has only been tested 2.0+)
  • build specified kernel (v5.x.x only)
  • Vanilla build system: incorporate your .config and patches as usual

Kernel portion written for debian and derivatives*

*(can be modified to compile zfs rpms, but not kernels)

To run - retrieve build dependencies:

% chmod +x *.sh
% ./install-build-requirements.sh

invoke script with $ZFS_VERSION $KERNEL_VERSION and $MAKECOMMAND (optional) Example:

% ./build-zfs-kernel.sh 2.0.3 5.10.17 modconfig

Or run without any make command - e.g.:

% ./build-zfs-kernel.sh 2.0.3 5.10.17

The above two arguments, $ZFS_VERSION and $KERNEL_VERSION are required.

Resources:

Find the versions you'd like to use with the builder:

Tested Ubuntu 20.04 through 21.04, Debian 10 and 11-testing repo.

About

a zfs-in-kernel package compiling script

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages