1
0
Fork
You've already forked openzfs-linux-packaging
0
OpenZFS on Linux packaging | https://github.com/OpenZFS/zfs
2023年12月02日 19:17:46 -05:00
kmod-zfs.spec-preamble Initial commit 2021年07月11日 10:54:25 -04:00
LICENSE Initial commit 2021年07月11日 10:54:25 -04:00
README.md Update README with basic package build information 2023年05月16日 09:15:26 -04:00
zfs.spec Update to 2.2.2 2023年12月02日 19:17:46 -05:00

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,

  1. Install the rpm-build package
  2. Create the folder tree: mkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}
  3. Copy all the source files into ~/rpmbuild/SOURCES
  4. Download the zfs source tarball referenced in the spec and put it in ~/rpmbuild/SOURCES
  5. Copy the spec to ~/rpmbuild/SPECS
  6. 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,

  1. Install debbuild from the openSUSE Build Service.
  2. Create the folder tree: mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS}
  3. Copy all the source files into ~/debbuild/SOURCES
  4. Download the zfs source tarball referenced in the spec and put it in ~/debbuild/SOURCES
  5. Copy the spec to ~/debbuild/SPECS
  6. Run debbuild: debbuild -ba ~/debbuild/SPECS/zfs.spec