[arch-commits] Commit in cryptsetup/trunk (install-sd-encrypt)
Christian Hesse
eworm at archlinux.org
Sat Apr 3 21:13:41 UTC 2021
Date: Saturday, April 3, 2021 @ 21:13:41
Author: eworm
Revision: 411477
move code from systemd hook
Modified:
cryptsetup/trunk/install-sd-encrypt
--------------------+
install-sd-encrypt | 12 ++++++++++++
1 file changed, 12 insertions(+)
Modified: install-sd-encrypt
===================================================================
--- install-sd-encrypt 2021-04-03 21:13:25 UTC (rev 411476)
+++ install-sd-encrypt 2021-04-03 21:13:41 UTC (rev 411477)
@@ -16,6 +16,7 @@
add_binary "dmsetup"
add_file "/usr/lib/udev/rules.d/10-dm.rules"
add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
+ add_file "/usr/lib/udev/rules.d/60-fido-id.rules"
add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
@@ -29,6 +30,17 @@
# cryptsetup calls pthread_create(), which dlopen()s libgcc_s.so.1
add_binary "/usr/lib/libgcc_s.so.1"
+ # add libraries dlopen()ed by systemd-cryptsetup
+ for LIB in fido2 tss2-{{esys,rc,mu},tcti-'*'}; do
+ for FILE in $(find /usr/lib/ -maxdepth 1 -name "lib${LIB}.so*"); do
+ if [[ -L "${FILE}" ]]; then
+ add_symlink "${FILE}"
+ else
+ add_binary "${FILE}"
+ fi
+ done
+ done
+
# add mkswap for creating swap space on the fly (see 'swap' in crypttab(5))
add_binary "mkswap"
More information about the arch-commits
mailing list