This repo attempts to capture packaging OpenZFS for Linux for RPM and Debian distributions.
On a RPM system,
rpm-build
packagemkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}
~/rpmbuild/SOURCES
~/rpmbuild/SOURCES
~/rpmbuild/SPECS
rpmbuild -ba ~/rpmbuild/SPECS/zfs.spec
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,
debbuild
from the openSUSE Build Service.mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS}
~/debbuild/SOURCES
~/debbuild/SOURCES
~/debbuild/SPECS
debbuild -ba ~/debbuild/SPECS/zfs.spec