]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(pcsc): add opensc load module file
authorManuel Fombuena <mfombuena@innovara.co.uk>
Fri, 3 Nov 2023 09:04:53 +0000 (09:04 +0000)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 30 Mar 2024 12:27:05 +0000 (08:27 -0400)
On Fedora, and possibly others, this file loads opensc-pkcs11.so which you need to interact with the smart card to unlock a LUKS encrypted volume.

modules.d/91pcsc/module-setup.sh

index 6f8b2c88e16b8c082d800c9d6739429740981086..26b463d4369b472e653723e2e989cf55e103df0b 100755 (executable)
@@ -29,7 +29,8 @@ install() {
     inst_simple "$moddir/pcscd.socket" "${systemdsystemunitdir}"/pcscd.socket
 
     inst_multiple -o \
-        pcscd
+        pcscd \
+        /usr/share/p11-kit/modules/opensc.module
 
     # Enable systemd type unit(s)
     for i in \