]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90nvdimm: include nvdimm keys in initrd
authorMartin Wilck <mwilck@suse.com>
Wed, 25 Mar 2020 11:23:11 +0000 (12:23 +0100)
committerDaniel Molkentin <daniel@molkentin.de>
Fri, 17 Apr 2020 16:22:36 +0000 (18:22 +0200)
This is necessary to actually unlock NVDIMM keys during boot.

modules.d/90nvdimm/module-setup.sh

index 6d58efd7c34b7172577614829ae35b42829b5c3d..6d73d215853836c6bdf758791b06cca490c1a88a 100755 (executable)
@@ -27,5 +27,5 @@ installkernel() {
 
 # called by dracut
 install() {
-    inst_multiple -o ndctl
+    inst_multiple -o ndctl /etc/ndctl/keys/tpm.handle /etc/ndctl/keys/*.blob
 }