]> granicus.if.org Git - zfs/commit
Add DKMS package on Debian-based distributions
authorNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 15 Oct 2017 20:00:44 +0000 (16:00 -0400)
committerTony Hutter <hutter2@llnl.gov>
Tue, 17 Oct 2017 23:49:19 +0000 (16:49 -0700)
commitabe30b7b4056e38dc990d26256d62478cdf7c05b
tree5a4f17af88dd3be2f68a6c28aa4b45e652509bf4
parentf90ee0ca3da3857d1eb024b553b26af930076237
Add DKMS package on Debian-based distributions

* config/deb.am: Enable building DKMS packages for Debian
* rpm/generic/zfs-dkms.spec.in: Adjust spec to be Debian-compatible
  * Condition kernel-devel Req to RPM distros
  * Adjust the DKMS Req to have a minimum of a version only
  * Ensure that --rpm_safe_upgrade isn't used on non-RPM distros
* config/deb.am: Drop CONFIG_KERNEL and CONFIG_USER guards
* Makefile.am: Add pkg-dkms target

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes #6044
Closes #6731
Makefile.am
config/deb.am
rpm/generic/zfs-dkms.spec.in