From 82b5118fcbe10b64478879a39a7dd4d274d0c7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sun, 9 Mar 2025 04:15:15 +0100 Subject: [PATCH] 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 --- initrd/dracut/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/dracut/module-setup.sh b/initrd/dracut/module-setup.sh index fce4ace..995f66b 100755 --- a/initrd/dracut/module-setup.sh +++ b/initrd/dracut/module-setup.sh @@ -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 }