Debian: tune linux-headers-* dep for bcachefs-kernel-dkms

1. linux-headers-generic isn't the right dependency on debian,
   there's also linux-headers-rt and linux-headers-cloud
2. the virtual package is unversioned, you can't ensure
   that you have new-enough headers package installed,
   and debian does not seem to care:
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116120
This commit is contained in:
Roman Lebedev 2025-09-25 20:19:22 +03:00
parent c4b4cb66ec
commit 912676097b
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0

3
debian/control vendored
View File

@ -52,8 +52,9 @@ Architecture: linux-any
Section: kernel Section: kernel
Depends: ${misc:Depends}, Depends: ${misc:Depends},
initramfs-tools | linux-initramfs-tool, initramfs-tools | linux-initramfs-tool,
linux-headers-generic (>= 6.16) |
linux-headers-amd64 (>= 6.16) [amd64] | linux-headers-cloud-amd64 (>= 6.16) [amd64] | linux-headers-rt-amd64 (>= 6.16) [amd64] | linux-headers-amd64 (>= 6.16) [amd64] | linux-headers-cloud-amd64 (>= 6.16) [amd64] | linux-headers-rt-amd64 (>= 6.16) [amd64] |
linux-headers-arm64 (>= 6.16) [arm64] | linux-headers-cloud-arm64 (>= 6.16) [arm64] | linux-headers-rt-arm64 (>= 6.16) [arm64], linux-headers-arm64 (>= 6.16) [arm64] | linux-headers-cloud-arm64 (>= 6.16) [arm64] | linux-headers-rt-arm64 (>= 6.16) [arm64]
Pre-Depends: bcachefs-tools (= ${binary:Version}), Pre-Depends: bcachefs-tools (= ${binary:Version}),
Provides: bcachefs-kernel Provides: bcachefs-kernel
Description: bcachefs kernel module DKMS source Description: bcachefs kernel module DKMS source