[{eoan, disco, xenial}:linux-azure PATCH 2/2] UBUNTU: [Packaging] linux-azure: Prevent intel_sgx from being automatically loaded

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Wed Dec 4 16:28:35 UTC 2019

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

In other to make sure the user is aware they are using the Intel SGX
module we are suppressing it from being automatically loaded on
systems that reports SGX via ACPI.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
 debian.azure/modprobe.d/common.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf
index 734054dc30e3..bcbc8471252b 100644
--- a/debian.azure/modprobe.d/common.conf
+++ b/debian.azure/modprobe.d/common.conf
@@ -5,3 +5,6 @@ blacklist snd-pcm-oss
 install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true
 # LP:1712915 -- [Hyper-V] linux-azure: rdma_ucm should autoload on HPC images
 softdep hv_network_direct_* post: rdma_ucm
+# LP:1844245 -- Integrate Intel SGX driver into linux-azure
+# Do not load intel_sgx by default
+blacklist intel_sgx

More information about the kernel-team mailing list