Commit 18dc7987 authored by Kleber Sacilotto de Souza's avatar Kleber Sacilotto de Souza Committed by Kelsey Skunberg

UBUNTU: [Packaging] ignore wireguard modules when wireguard is disabled

BugLink: https://bugs.launchpad.net/bugs/1861284

When the build of wireguard modules is disabled, its modules should be
ignored, just like when zfs is disabled.
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKelsey Skunberg <kelsey.skunberg@canonical.com>
parent 47578939
......@@ -93,6 +93,10 @@ ifeq ($(do_zfs),false)
do_zfs_disable:=$(shell cat $(DROOT)/zfs-modules.ignore >>$(prev_abidir)/../modules.ignore)
endif
ifeq ($(do_dkms_wireguard),false)
do_wireguard_disable:=$(shell cat $(DROOT)/wireguard-modules.ignore >>$(prev_abidir)/../modules.ignore)
endif
# Either tools package needs the common source preparation
do_any_tools=$(sort $(filter-out false,$(do_linux_tools) $(do_cloud_tools)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment