diff mbox series

efi_runtime: don't build dkms module for those kernels with efi_test

Message ID 20240521101958.349960-1-ivan.hu@canonical.com
State Accepted
Headers show
Series efi_runtime: don't build dkms module for those kernels with efi_test | expand

Commit Message

Ivan Hu May 21, 2024, 10:19 a.m. UTC
BugLink: https://bugs.launchpad.net/fwts/+bug/2066243

The commit 4ab38cf1 used the OBSOLETE_BY for not install the DKMS above
4.8.0. but still building the DKMS, make it not build for those
kernels with already got CONFIG_EFI_TEST(efi_test).

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 debian/fwts-efi-runtime-dkms.dkms | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/debian/fwts-efi-runtime-dkms.dkms b/debian/fwts-efi-runtime-dkms.dkms
index 33c24e46..650e8534 100644
--- a/debian/fwts-efi-runtime-dkms.dkms
+++ b/debian/fwts-efi-runtime-dkms.dkms
@@ -4,4 +4,4 @@  MAKE[0]="KVER=$kernelver make"
 BUILT_MODULE_NAME[0]="efi_runtime"
 DEST_MODULE_LOCATION[0]="/updates"
 AUTOINSTALL="yes"
-OBSOLETE_BY="4.8.0"
+BUILD_EXCLUSIVE_CONFIG="!CONFIG_EFI_TEST"