Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Comments

Enable building the DKMS package on Debian-based distributions#657

Merged
behlendorf merged 4 commits intoopenzfs:masterfrom
Conan-Kudo:deb-dkms
Oct 15, 2017
Merged

Enable building the DKMS package on Debian-based distributions#657
behlendorf merged 4 commits intoopenzfs:masterfrom
Conan-Kudo:deb-dkms

Conversation

@Conan-Kudo
Copy link
Contributor

@Conan-Kudo Conan-Kudo commented Oct 7, 2017

This pull request adds the ability to generate DKMS packages that are compatible and installable for Debian and derivatives.

Required for: openzfs/zfs/issues/6044
Required by: openzfs/zfs/pull/6731

Signed-off-by: Neal Gompa <ngompa@datto.com>
This involved two things:
* Condition kernel-devel Requires to RPM distros
* Ensure that --rpm_safe_upgrade isn't used on non-RPM distros

Signed-off-by: Neal Gompa <ngompa@datto.com>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Signed-off-by: Neal Gompa <ngompa@datto.com>
@behlendorf behlendorf merged commit 28920ea into openzfs:master Oct 15, 2017
@Conan-Kudo Conan-Kudo deleted the deb-dkms branch October 15, 2017 19:58
tonyhutter pushed a commit that referenced this pull request Oct 18, 2017
* config/deb.am: Enable building DKMS packages for Debian
* rpm/generic/spl-dkms.spec.in: Adjust spec to be Debian-compatible
  * Condition kernel-devel Requires to RPM distros
  * 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 #657
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants