Initramfs generator using udev
Go to file
Manuel Fombuena 2d7bee74f8 Fix pkcs11 and pcsc modules
pkcs11 and pcsc don't seem to have ever worked.

In the case of pkcs11, the following install line is incorrect (note the dot before *):

{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so.*"

And it should be:

{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so*"

I opened a PR and it was merged a while ago: https://github.com/dracutdevs/dracut/pull/2540

In the case of pcsc there are two problems.

One, the installation file is missing /usr/share/p11-kit/modules/opensc.module and without that, you can't really do anything.

Two, dracut doesn't include polkit and pcsc is compiled with it enabled by default. The option --disable-polkit was added to pcscd in 2.0, precisely to address this issue. It needs to be added to pcscd.service in the module for it to work on initramfs.

I opened another PR which has been approved by 2 reviewers and merged into openSUSE: https://github.com/dracutdevs/dracut/pull/2547

Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
2024-02-12 21:34:12 +01:00
tests initial commit of tests from upstreamfirst 2017-10-13 14:54:11 -04:00
.gitignore Fixup .gitignore file. 2023-02-21 10:26:11 +01:00
0001-fix-dracut.sh-use-dynamically-uefi-s-sections-offset.patch fix(dracut.sh): use dynamically uefi's sections offset 2023-08-02 12:28:18 +02:00
0001-fix-make-iso-scan-trigger-udev-events.patch Backport PR #2196 to fix boot with iso-scan feature 2023-10-05 09:11:19 -07:00
0001-fix-systemd-pcrphase-rename-systemd-pcrphase-binary-.patch Backport patches to unbreak systemd v255 2023-11-08 15:29:43 +01:00
0001-fix-wait-12-hours-before-halt-on-media-check-fail.patch Backport PR #2545 to fix media check failure visibility 2023-10-30 16:03:46 -07:00
1521-Never-enable-the-bluetooth-module-by-default.patch Re-add patch Never-enable-the-bluetooth-module-by-default 2022-09-13 16:14:40 +02:00
1825-Skip-creating-initrd-when-initrd-is-provided.patch Skip creating initrd when initrd already provided, 2023-02-20 23:39:19 +01:00
2134-revert-avoid-restarting-NetworkManager.patch revert(network-manager): avoid restarting NetworkManager 2023-03-16 09:02:54 +01:00
2184-add-nvmeof-module.patch feat(nvmf): NVMeoF support 2023-07-24 18:18:47 +02:00
2218-add-module-driver-support-for-macbook-keyboards.patch feat(kernel-modules): add driver needed for macbook keyboards 2023-02-21 02:11:18 +01:00
2224-network-include-default-mac-none-link.patch Support MACAddressPolicy=none for bond/bridge/team devices 2023-03-20 13:34:42 +01:00
2233-dmsquash-live-restore-compatibility.patch fix(dmsquash-live): restore compatibility with earlier releases 2023-03-16 09:02:54 +01:00
2237-kmoddir-fix-trailing-forwardslash-handling.patch fix(dracut.sh): handle --kmoddir with trailing / 2023-02-24 19:52:25 +01:00
2290-remove-dependency-on-multipathd-socket.patch Backport fix to remove dependency on multipathd.socket 2023-04-27 10:38:17 +02:00
2377-fix-kernel-modules-add-interconnect-drivers.patch backport fix to add the interconnect drivers 2023-06-08 15:00:02 -04:00
2481-remove-microcode-check-based-on-CONFIG_MICROCODE_.patch fix(dracut.sh): remove microcode check based on 2023-11-16 16:24:17 +01:00
2527.patch Backport patches to unbreak systemd v255 2023-11-08 15:29:43 +01:00
2531.patch Add Qualcomm IPC router to enable USB(Lenovo x13s) 2023-12-08 10:36:32 -06:00
2540-fix-pkcs11-libcryptsetup-token-systemd-pkcs11-so-path.patch Fix pkcs11 and pcsc modules 2024-02-12 21:34:12 +01:00
2547-fix-pcsc-module.patch Fix pkcs11 and pcsc modules 2024-02-12 21:34:12 +01:00
bee1c4824a8cd47ce6c01892a548bdc07b1fa678.patch Backport patches to unbreak systemd v255 2023-11-08 15:29:43 +01:00
dracut.spec Fix pkcs11 and pcsc modules 2024-02-12 21:34:12 +01:00
lgpl-2.1.txt fix license handling 2014-07-11 17:54:41 -04:00
newdracut.sh Enhance newdracut.sh 2022-07-18 11:31:10 +02:00
sources Update to 059 2023-02-20 23:36:58 +01:00