dracut: replace removed-from-dracut-ng inst_library with inst_libdir_file in TPM1

Equivalent calling convention, produces identical initrd

Fixes: https://todo.sr.ht/~nabijaczleweli/tzpfms/3
This commit is contained in:
наб 2025-03-09 04:15:15 +01:00
parent 2335a22bc7
commit 82b5118fcb
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -31,7 +31,7 @@ _install_tpm2() {
_install_tpm1x() {
inst_binary zfs-tpm1x-load-key
INSTALL_TPM1X{inst_binary tcsd; inst_binary ip; inst_binary ss, initdir, inst_simple, inst_simple, inst_simple, inst_library}
INSTALL_TPM1X{inst_binary tcsd; inst_binary ip; inst_binary ss, initdir, inst_simple, inst_simple, inst_simple, inst_libdir_file}
command -v tpm_resetdalock > /dev/null && inst_binary tpm_resetdalock
}