d/control.in: Provide versioned linux-image/linux-headers

pve-headers-$(uname -r) is equivalent to
linux-headers-$(uname -r)-amd64

pve-kernel-$(uname -r) is equivalent to
linux-image-$(uname -r)-amd64

By adding a provides this should help users running
`apt install linux-headers-$(uname -r)-amd64` which is commonly
suggested in install instructions for third-party kernel-drivers on
plain debian.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2021-12-13 15:52:16 +01:00 committed by Fabian Grünbichler
parent bc1d191389
commit dd539d4154

4
debian/control.in vendored
View File

@ -51,7 +51,7 @@ Package: pve-headers-@KVNAME@
Section: devel Section: devel
Priority: optional Priority: optional
Architecture: any Architecture: any
Provides: linux-headers Provides: linux-headers-@KVNAME@-amd64
Depends: coreutils | fileutils (>= 4.0) Depends: coreutils | fileutils (>= 4.0)
Description: The Proxmox PVE Kernel Headers Description: The Proxmox PVE Kernel Headers
This package contains the linux kernel headers This package contains the linux kernel headers
@ -60,7 +60,7 @@ Package: pve-kernel-@KVNAME@
Section: admin Section: admin
Priority: optional Priority: optional
Architecture: any Architecture: any
Provides: linux-image Provides: linux-image-@KVNAME@-amd64
Suggests: pve-firmware Suggests: pve-firmware
Depends: busybox, initramfs-tools Depends: busybox, initramfs-tools
Recommends: grub-pc | grub-efi-amd64 | grub-efi-ia32 | grub-efi-arm64 Recommends: grub-pc | grub-efi-amd64 | grub-efi-ia32 | grub-efi-arm64