OpenZFS on Linux packaging | https://github.com/OpenZFS/zfs
| kmod-zfs.spec-preamble | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Update README with basic package build information | |
| zfs.spec | Update to 2.2.2 | |
Packaging for OpenZFS for Linux for RPM and Debian distributions
This repo attempts to capture packaging OpenZFS for Linux for RPM and Debian distributions.
How to build the package (rpm)
On a RPM system,
- Install the
rpm-buildpackage - Create the folder tree:
mkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS} - Copy all the source files into
~/rpmbuild/SOURCES - Download the zfs source tarball referenced in the spec and put it in
~/rpmbuild/SOURCES - Copy the spec to
~/rpmbuild/SPECS - Run rpmbuild:
rpmbuild -ba ~/rpmbuild/SPECS/zfs.spec
How to build the package (deb)
This package is built using debbuild for Debian targets. You can install debbuild from the openSUSE Build Service for either Debian or Ubuntu.
On a Debian/Ubuntu system,
- Install
debbuildfrom the openSUSE Build Service. - Create the folder tree:
mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS} - Copy all the source files into
~/debbuild/SOURCES - Download the zfs source tarball referenced in the spec and put it in
~/debbuild/SOURCES - Copy the spec to
~/debbuild/SPECS - Run debbuild:
debbuild -ba ~/debbuild/SPECS/zfs.spec