We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8743b07 commit 8f99fadCopy full SHA for 8f99fad
modules.d/91tpm2-tss/module-setup.sh
@@ -5,6 +5,9 @@
5
# Prerequisite check(s) for module.
6
check() {
7
8
+ # If the binary(s) requirements are not fulfilled the module can't be installed.
9
+ require_binaries tpm2 || return 1
10
+
11
# Return 255 to only include the module, if another module requires it.
12
return 255
13
@@ -52,12 +55,4 @@ install() {
52
55
{"tls/$_arch/",tls/,"$_arch/",}"libcurl.so.*" \
53
56
{"tls/$_arch/",tls/,"$_arch/",}"libjson-c.so.*"
54
57
- # Install the hosts local user configurations if enabled.
- if [[ $hostonly ]]; then
- inst_multiple -H -o \
58
- "$udevrulesdir"/60-tpm-udev.rules \
59
- /etc/tpm2-tss/fapi-config.json \
60
- "/etc/tpm2-tss/fapi-profiles/*.json"
61
- fi
62
-
63
}
0 commit comments