]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(pcsc): add libpcsclite_real.so.*
authorManuel Fombuena <fombuena@outlook.com>
Thu, 31 Oct 2024 12:01:46 +0000 (12:01 +0000)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 31 Oct 2024 13:48:34 +0000 (09:48 -0400)
systemd-cryptsetup requires libpcsclite_real.so.1

Without it you get the following error:

systemd-cryptsetup[697]: loading "libpcsclite_real.so.1" failed: libpcsclite_real.so.1: cannot open shared object file: No such file or directory

Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
modules.d/91pcsc/module-setup.sh

index 26b463d4369b472e653723e2e989cf55e103df0b..5ae1272b20c09c86a4fe7628f509bc90361bc450 100755 (executable)
@@ -51,7 +51,8 @@ install() {
         {"tls/$_arch/",tls/,"$_arch/",}"pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist" \
         {"tls/$_arch/",tls/,"$_arch/",}"pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so" \
         {"tls/$_arch/",tls/,"$_arch/",}"pcsc/drivers/serial/libccidtwin.so" \
-        {"tls/$_arch/",tls/,"$_arch/",}"libpcsclite.so.*"
+        {"tls/$_arch/",tls/,"$_arch/",}"libpcsclite.so.*" \
+        {"tls/$_arch/",tls/,"$_arch/",}"libpcsclite_real.so.*"
 
     # Install the hosts local user configurations if enabled.
     if [[ $hostonly ]]; then