[SRU][m:unstable-meta][RFC 1/1] UBUNTU: [Packaging] Drop wireguard DKMS

John Cabaj john.cabaj at canonical.com
Mon Oct 2 18:20:20 UTC 2023


Commit ed294cea82a6 in the main kernel package dropped
Wireguard DKMS support. Reflecting that in the meta
package to avoid error message during package building
("modinfo: ERROR: Module /lib/modules/<abi>/kernel/drivers/net/wireguard/wireguard.ko not found")

Signed-off-by: John Cabaj <john.cabaj at canonical.com>
---
 debian/rules | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index e20511f..c39adca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,11 +72,6 @@ $(foreach _line,$(shell gawk '{ OFS = "!"; $$1 = $$1; print }' debian/dkms-versi
   ) \
 )
 dkms_virtualbox_version=$(KERNEL_ABI_VERSION)
-ifeq ($(wildcard /lib/modules/$(KERNEL_ABI_VERSION)-generic/kernel/drivers/net/wireguard/wireguard.ko.zst),)
-	dkms_wireguard_version := $(shell /sbin/modinfo -F version /lib/modules/$(KERNEL_ABI_VERSION)-generic/kernel/drivers/net/wireguard/wireguard.ko)
-else
-	dkms_wireguard_version := $(shell /sbin/modinfo -F version /lib/modules/$(KERNEL_ABI_VERSION)-generic/kernel/drivers/net/wireguard/wireguard.ko.zst)
-endif
 
 debian/control.d/dkms-%: module = $(patsubst debian/control.d/dkms-%,%,$@)
 debian/control.d/dkms-%: module_archs = $(dkms_$(patsubst debian/control.d/dkms-%,%,$@)_archs)
@@ -141,7 +136,6 @@ gencontrol_flags += \
     ) \
   )
 gencontrol_flags += -Vdkms:virtualbox-guest-modules="virtualbox-guest-modules (= $(dkms_virtualbox_version)),"
-gencontrol_flags += -Vdkms:wireguard-linux-compat-modules="wireguard-modules (= $(dkms_wireguard_version)),"
 
 build-%:
 	:
-- 
2.34.1




More information about the kernel-team mailing list