[PATCH] efi_runtime: build dkms for kernel that does not have efi_test
Alex Hung
alex.hung at canonical.com
Fri Jun 8 04:13:40 UTC 2018
A version of efi_runtime, efi_test, has been sent to upstream since
kernel 4.9, and all supported Ubuntu kernels, except 4.4, haven efi_test
built as a module by default. As a result, the dkms is only required for
kernel 4.4. The also fixes the problem that dkms fails to be installed
on new hardware that has secure boot enabled by default.
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
debian/fwts-efi-runtime-dkms.dkms | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/fwts-efi-runtime-dkms.dkms b/debian/fwts-efi-runtime-dkms.dkms
index 94b3415..61c294a 100644
--- a/debian/fwts-efi-runtime-dkms.dkms
+++ b/debian/fwts-efi-runtime-dkms.dkms
@@ -1,6 +1,7 @@
PACKAGE_NAME="fwts-efi-runtime-dkms"
PACKAGE_VERSION="#MODULE_VERSION#"
MAKE[0]="KVER=$kernelver make"
+BUILD_EXCLUSIVE_KERNEL="^4.4"
BUILT_MODULE_NAME[0]="efi_runtime"
DEST_MODULE_LOCATION[0]="/updates"
AUTOINSTALL="yes"
--
2.7.4
More information about the fwts-devel
mailing list