[Pkg-zfsonlinux-devel] Bug#1120320: Please build a linux-image-zfs metapackage that depends on the latest kernel the current zfs-dkms builds with

Andras Korn korn-debbugs at elan.rulez.org
Thu Nov 20 21:48:15 GMT 2025


Hi,

I created such a package; probably not 100% correctly, but it seems to work well enough.

My control file is:

Source: linux-kernel-zfs
Section: admin
Priority: important
Maintainer: ...
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.7.0
Rules-Requires-Root: no

Package: linux-kernel-zfs
Architecture: all
Enhances: zfs-dkms
Depends: linux-image-amd64 (>= 6.8) | linux-image-arm64 (>= 6.8) | linux-image-armmp (>= 6.8) | linux-image-686-pae (>= 6.8) | linux-image-ppc64el (>= 6.8) | linux-image-s390x (>= 6.8) | linux-headers-amd64 (>= 6.8) | linux-headers-arm64 (>= 6.8) | linux-headers-armmp (>= 6.8) | linux-headers-686-pae (>= 6.8) | linux-headers-ppc64el (>= 6.8) | linux-headers-s390x (>= 6.8), zfs-dkms (>= 2.3.5)
Conflicts: linux-image-amd64 (>= 6.18),
           linux-image-arm64 (>= 6.18),
           linux-image-armmp (>= 6.18),
           linux-image-686-pae (>= 6.18),
           linux-image-ppc64el (>= 6.18),
           linux-image-s390x (>= 6.18)
Description: Metapackage to ensure a recent kernel supported by OpenZFS is installed
 This package depends on linux-image and linux-headers, but conflicts with
 versions that are not supported by zfs-dkms yet, preventing accidental
 upgrades to such versions (and the subsequent failure to boot).



One thing that I'm sure could be improved is that it doesn't actually make
sure a linux-headers package matching the latest linux-image package is
installed; but I'm not sure how to do that, other than have a hard versioned
dependency on a specific linux-image and linux-headers package.

András

-- 
             I started out with nothing. I still have most of it.



More information about the Pkg-zfsonlinux-devel mailing list