Skip to content

Commit

Permalink
feat(tpm2-tss): add tpm2.target and systemd-tpm2-generator
Browse files Browse the repository at this point in the history
systemd/systemd@4e1f0037 added a new `tpm2.target`,
which is now used by `systemd-pcrphase-initrd.service`, and
`systemd-tpm2-generator`, which adds a `Wants=` dependency from `sysinit.target`
to `tpm2.target` when it detects that the firmware discovered a TPM2 device but
the kernel didn't.
  • Loading branch information
aafeijoo-suse committed Feb 19, 2024
1 parent 4971f44 commit 0725e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules.d/91tpm2-tss/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ install() {
"$sysusers"/tpm2-tss.conf \
"$tmpfilesdir"/tpm2-tss-fapi.conf \
"$udevrulesdir"/60-tpm-udev.rules \
"$systemdutildir"/system-generators/systemd-tpm2-generator \
"$systemdsystemunitdir/tpm2.target" \
tpm2_pcrread tpm2_pcrextend tpm2_createprimary tpm2_createpolicy \
tpm2_create tpm2_load tpm2_unseal tpm2

Expand Down

0 comments on commit 0725e8c

Please sign in to comment.