]> git.proxmox.com Git - pve-kernel-meta.git/commitdiff
fix #3781: add Provides: wireguard-modules to control.in
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 13 Dec 2021 14:52:15 +0000 (15:52 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Dec 2021 12:29:03 +0000 (13:29 +0100)
without this line `apt install wireguard` pulls in Debian's kernel +
firmware which confilcts with pve-firmware - forcing users to install
via `apt install --no-install-recommends wireguard-tools` in order to
get the userspace utils.

Plain debian has the 'Provides' in the meta-package[0]
(linux-image-amd64), so following this add it to pve-kernel-$MAJ.$MIN

versioned dependency added since wireguard has a versioned dependency
on wireguard-modules.

[0] https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/templates/control.image.meta.in

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
debian/control.in

index ce9f19a91b09fbb24155861f80ab1d9b0b0815e1..036032dd4c16fda2f487c938a024a02fa3a8c15b 100644 (file)
@@ -20,7 +20,7 @@ Description: Latest Proxmox VE Kernel Headers
 Package: pve-kernel-@KERNEL_VER@
 Architecture: all
 Section: admin
-Provides: linux-image-amd64, linux-image-generic
+Provides: linux-image-amd64, linux-image-generic, wireguard-modules (=1.0.0)
 Priority: optional
 Depends: pve-firmware,
          pve-kernel-@KERNEL_ABI@,