This change also allows to import `tpm2_id` as a built-in instead of as a program.
11 lines
314 B
Plaintext
11 lines
314 B
Plaintext
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="tpm2_id_end"
|
|
SUBSYSTEM!="tpmrm", GOTO="tpm2_id_end"
|
|
KERNEL!="tpmrm[0-9]*", GOTO="tpm2_id_end"
|
|
|
|
IMPORT{builtin}="tpm2_id identify"
|
|
ENV{ID_TPM2_MODALIAS}!="", IMPORT{builtin}="hwdb 'tpm2:$env{ID_TPM2_MODALIAS}'"
|
|
|
|
LABEL="tpm2_id_end"
|