mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-15 09:40:32 +03:00
Include tpm2_dictionarylockout like tpm_resetdalock
This commit is contained in:
parent
c9cd46ab95
commit
de9b591546
@ -22,6 +22,7 @@ _install_tpm2() {
|
||||
inst_binary zfs-tpm2-load-key
|
||||
# shellcheck disable=SC2046
|
||||
inst_library $(find /usr/lib -name 'libtss2-tcti*.so*') # TODO: there's got to be a better way™!
|
||||
command -v tpm2_dictionarylockout > /dev/null && inst_binary tpm2_dictionarylockout
|
||||
}
|
||||
|
||||
_install_tpm1x() {
|
||||
|
@ -17,7 +17,7 @@ sed -Ei 's/^decrypt_fs\(\)/__tzpfms__&/' "$DESTDIR/scripts/zfs"
|
||||
cat /usr/share/tzpfms/initramfs-tools-zfs-patch.sh >> "$DESTDIR/scripts/zfs"
|
||||
|
||||
|
||||
for x in zfs-tpm-list zfs-tpm2-load-key zfs-tpm1x-load-key tpm_resetdalock tcsd $(find /usr/lib -name 'libtss2-tcti*.so*'); do # TODO: there's got to be a better way™!
|
||||
for x in zfs-tpm-list zfs-tpm2-load-key tpm2_dictionarylockout zfs-tpm1x-load-key tpm_resetdalock tcsd $(find /usr/lib -name 'libtss2-tcti*.so*'); do # TODO: there's got to be a better way™!
|
||||
xloc="$(command -v "$x")" && copy_exec "$xloc"
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user