* [ptxdist] [PATCH 1/2] tpm2-tss: install libtss2-policy and -tcti-spi-helper
@ 2025-09-17 11:07 Leonard Göhrs
2025-09-17 11:07 ` [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json Leonard Göhrs
2025-09-22 11:04 ` [ptxdist] [APPLIED] tpm2-tss: install libtss2-policy and -tcti-spi-helper Michael Olbrich
0 siblings, 2 replies; 4+ messages in thread
From: Leonard Göhrs @ 2025-09-17 11:07 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
These are for example required when one wants to use python tool included
with tpm2-pkcs11[1].
[1]: https://github.com/tpm2-software/tpm2-pkcs11
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
rules/tpm2-tss.make | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make
index f48a3e07a..6ca5724c9 100644
--- a/rules/tpm2-tss.make
+++ b/rules/tpm2-tss.make
@@ -93,6 +93,8 @@ $(STATEDIR)/tpm2-tss.targetinstall:
@$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tcti-mssim)
@$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tctildr)
@$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-rc)
+ @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-policy)
+ @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tcti-spi-helper)
@$(call install_alternative, tpm2-tss, 0, 0, 0644, \
/usr/lib/udev/rules.d/70-tpm-udev.rules)
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json
2025-09-17 11:07 [ptxdist] [PATCH 1/2] tpm2-tss: install libtss2-policy and -tcti-spi-helper Leonard Göhrs
@ 2025-09-17 11:07 ` Leonard Göhrs
2025-09-22 11:04 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-09-22 11:04 ` [ptxdist] [APPLIED] tpm2-tss: install libtss2-policy and -tcti-spi-helper Michael Olbrich
1 sibling, 1 reply; 4+ messages in thread
From: Leonard Göhrs @ 2025-09-17 11:07 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
The TPM2 Feature API (FAPI) provides a more abstract view of the TPM,
with more high level functions. To provide these it needs a bit of
configuration and a place to store data.
Install the default config provided by the upstream project.
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
rules/tpm2-tss.make | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make
index 6ca5724c9..45fc51f1c 100644
--- a/rules/tpm2-tss.make
+++ b/rules/tpm2-tss.make
@@ -98,6 +98,8 @@ $(STATEDIR)/tpm2-tss.targetinstall:
@$(call install_alternative, tpm2-tss, 0, 0, 0644, \
/usr/lib/udev/rules.d/70-tpm-udev.rules)
+ @$(call install_alternative, tpm2-tss, 0, 0, 0644, \
+ /etc/tpm2-tss/fapi-config.json)
@$(call install_finish, tpm2-tss)
--
2.47.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] tpm2-tss: install fapi-config.json
2025-09-17 11:07 ` [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json Leonard Göhrs
@ 2025-09-22 11:04 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-09-22 11:04 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
Thanks, applied as 2b1e5d67ce68b78d6a71fe919a8567a02096be09.
Michael
[sent from post-receive hook]
On Mon, 22 Sep 2025 13:04:19 +0200, Leonard Göhrs <l.goehrs@pengutronix.de> wrote:
> The TPM2 Feature API (FAPI) provides a more abstract view of the TPM,
> with more high level functions. To provide these it needs a bit of
> configuration and a place to store data.
> Install the default config provided by the upstream project.
>
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Message-Id: <20250917110808.167491-2-l.goehrs@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make
> index 6ca5724c9c32..45fc51f1c70f 100644
> --- a/rules/tpm2-tss.make
> +++ b/rules/tpm2-tss.make
> @@ -98,6 +98,8 @@ $(STATEDIR)/tpm2-tss.targetinstall:
>
> @$(call install_alternative, tpm2-tss, 0, 0, 0644, \
> /usr/lib/udev/rules.d/70-tpm-udev.rules)
> + @$(call install_alternative, tpm2-tss, 0, 0, 0644, \
> + /etc/tpm2-tss/fapi-config.json)
>
> @$(call install_finish, tpm2-tss)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] tpm2-tss: install libtss2-policy and -tcti-spi-helper
2025-09-17 11:07 [ptxdist] [PATCH 1/2] tpm2-tss: install libtss2-policy and -tcti-spi-helper Leonard Göhrs
2025-09-17 11:07 ` [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json Leonard Göhrs
@ 2025-09-22 11:04 ` Michael Olbrich
1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-09-22 11:04 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
Thanks, applied as f361640a4ae77b6fa2cc8cfe86bea331ebef0415.
Michael
[sent from post-receive hook]
On Mon, 22 Sep 2025 13:04:18 +0200, Leonard Göhrs <l.goehrs@pengutronix.de> wrote:
> These are for example required when one wants to use python tool included
> with tpm2-pkcs11[1].
>
> [1]: https://github.com/tpm2-software/tpm2-pkcs11
>
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Message-Id: <20250917110808.167491-1-l.goehrs@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make
> index f48a3e07a822..6ca5724c9c32 100644
> --- a/rules/tpm2-tss.make
> +++ b/rules/tpm2-tss.make
> @@ -93,6 +93,8 @@ $(STATEDIR)/tpm2-tss.targetinstall:
> @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tcti-mssim)
> @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tctildr)
> @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-rc)
> + @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-policy)
> + @$(call install_lib, tpm2-tss, 0, 0, 0644, libtss2-tcti-spi-helper)
>
> @$(call install_alternative, tpm2-tss, 0, 0, 0644, \
> /usr/lib/udev/rules.d/70-tpm-udev.rules)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-22 11:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 11:07 [ptxdist] [PATCH 1/2] tpm2-tss: install libtss2-policy and -tcti-spi-helper Leonard Göhrs
2025-09-17 11:07 ` [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json Leonard Göhrs
2025-09-22 11:04 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-09-22 11:04 ` [ptxdist] [APPLIED] tpm2-tss: install libtss2-policy and -tcti-spi-helper Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox