32 lines
633 B
Text
32 lines
633 B
Text
|
#!/bin/bash
|
||
|
|
||
|
build() {
|
||
|
add_module "tpm_tis"
|
||
|
add_module "tpm_crb"
|
||
|
|
||
|
add_binary "/usr/bin/tpm2_unseal"
|
||
|
add_binary "/usr/bin/tpm2_policypcr"
|
||
|
add_binary "/usr/bin/tpm2_policyauthorize"
|
||
|
add_binary "/usr/bin/tpm2_flushcontext"
|
||
|
add_binary "/usr/bin/tpm2_startauthsession"
|
||
|
add_binary "/usr/bin/tpm2_load"
|
||
|
|
||
|
add_binary "/usr/lib/libtss2-tcti-device.so.0"
|
||
|
|
||
|
add_file "/etc/tpm2/policy"
|
||
|
add_file "/etc/tpm2/rsaname"
|
||
|
add_file "/etc/tpm2/verification"
|
||
|
add_file "/etc/tpm2/pcr"
|
||
|
add_file "/etc/tpm2/keyloc"
|
||
|
|
||
|
add_runscript
|
||
|
}
|
||
|
|
||
|
help() {
|
||
|
cat <<EOF
|
||
|
todo
|
||
|
EOF
|
||
|
}
|
||
|
|
||
|
# vim: set ft=sh ts=4 sw=4 et:
|