Harald Hoyer 308914
From 25c7a13985473ff9714245eaa602225b1a0f9ecb Mon Sep 17 00:00:00 2001
Harald Hoyer 308914
From: Martin Wilck <mwilck@suse.de>
Harald Hoyer 308914
Date: Wed, 25 Mar 2020 12:23:11 +0100
Harald Hoyer 308914
Subject: [PATCH] 90nvdimm: include nvdimm keys in initrd
Harald Hoyer 308914
Harald Hoyer 308914
This is necessary to actually unlock NVDIMM keys during boot.
Harald Hoyer 308914
---
Harald Hoyer 308914
 modules.d/90nvdimm/module-setup.sh | 2 +-
Harald Hoyer 308914
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 308914
Harald Hoyer 308914
diff --git a/modules.d/90nvdimm/module-setup.sh b/modules.d/90nvdimm/module-setup.sh
Harald Hoyer 308914
index 6d58efd7..6d73d215 100755
Harald Hoyer 308914
--- a/modules.d/90nvdimm/module-setup.sh
Harald Hoyer 308914
+++ b/modules.d/90nvdimm/module-setup.sh
Harald Hoyer 308914
@@ -27,5 +27,5 @@ installkernel() {
Harald Hoyer 308914
 
Harald Hoyer 308914
 # called by dracut
Harald Hoyer 308914
 install() {
Harald Hoyer 308914
-    inst_multiple -o ndctl
Harald Hoyer 308914
+    inst_multiple -o ndctl /etc/ndctl/keys/tpm.handle /etc/ndctl/keys/*.blob
Harald Hoyer 308914
 }
Harald Hoyer 308914