From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 17 Sep 2025 13:09:21 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uyq2L-00432x-1J for lore@lore.pengutronix.de; Wed, 17 Sep 2025 13:09:21 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uyq2L-0003Rr-1P; Wed, 17 Sep 2025 13:09:21 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uyq23-0003Ir-Pu; Wed, 17 Sep 2025 13:09:03 +0200 Received: from dude03.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::39]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uyq23-001kWp-20; Wed, 17 Sep 2025 13:09:03 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1uyq23-00000000iDY-24JA; Wed, 17 Sep 2025 13:09:03 +0200 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= To: ptxdist@pengutronix.de Date: Wed, 17 Sep 2025 13:07:54 +0200 Message-ID: <20250917110808.167491-2-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250917110808.167491-1-l.goehrs@pengutronix.de> References: <20250917110808.167491-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 2/2] tpm2-tss: install fapi-config.json X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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