analyze: move "has-tpm2" from systemd-creds to systemd-analyze
authorLennart Poettering <lennart@poettering.net>
Fri, 31 May 2024 10:00:00 +0000 (12:00 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 12 Sep 2024 10:56:03 +0000 (12:56 +0200)
commit58e359604ffdca12bb4d2c5807b96e070611c0f6
tree999403ac7c646ba58e932e70a0fdd928d6cfea32
parentd258b1c60c2d57e4868a3a288b988188470a33ec
analyze: move "has-tpm2" from systemd-creds to systemd-analyze

The verb s not really specific to credential management, it was always a
bit misplaced. Hence move it to systemd-analyze, where we already have
some general TPM related verbs such as "srk" and "pcrs"
man/systemd-analyze.xml
man/systemd-creds.xml
src/analyze/analyze-has-tpm2.c [new file with mode: 0644]
src/analyze/analyze-has-tpm2.h [new file with mode: 0644]
src/analyze/analyze.c
src/analyze/meson.build
src/creds/creds.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h
test/units/TEST-65-ANALYZE.sh