Repository navigation
fix(zfs): build OpenZFS's native Debian packages so they declare their dependencies - #29
Merged
Merged
Conversation
…r dependencies The alien targets (make deb-utils deb-dkms) convert RPMs and drop their requirements: zfs-dkms did not depend on dkms and the libraries declared no shared-library dependencies, which breaks installing them through apt. make native-deb-utils builds OpenZFS's own contrib/debian packaging instead (openzfs-* packages, real Depends), versioned <zfs>-<build number> via the generated changelog. The zfs-2.4.4 patch lane adds Conflicts for the alien-built names upstream only Replaces, so apt removes them on upgrade. check-zfs-dkms now also fails if the DKMS package does not depend on dkms.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The alien targets (make deb-utils deb-dkms) convert RPMs and drop their
requirements: zfs-dkms did not depend on dkms and the libraries declared no
shared-library dependencies, which breaks installing them through apt.
make native-deb-utils builds OpenZFS's own contrib/debian packaging instead
(openzfs-* packages, real Depends), versioned - via the
generated changelog. The zfs-2.4.4 patch lane adds Conflicts for the
alien-built names upstream only Replaces, so apt removes them on upgrade.
check-zfs-dkms now also fails if the DKMS package does not depend on dkms.
.github/workflows/release.yml | 4 +-
README.md | 9 +--
docs/APT_REPO.md | 4 +-
docs/BUILDING.md | 10 +--
docs/CI_RELEASES.md | 2 +-
docs/DKMS.md | 2 +-
docs/INSTALLERS.md | 2 +-
docs/KERNEL.md | 2 +-
docs/SMOOTHNAS.md | 16 ++---
docs/bumping-kernel.md | 4 +-
docs/kernel-config.md | 2 +-
docs/signing.md | 2 +-
examples/smooth.env | 7 +-
examples/smoothnas.env | 7 +-
...debian-conflict-with-alien-built-packages.patch | 72 +++++++++++++++++++
patches/zfs-2.4.4/README.md | 33 +++++++++
recipes/build-zfs.sh | 80 ++++++++--------------
recipes/check-zfs-dkms.sh | 4 +-
18 files changed, 173 insertions(+), 89 deletions(-)