From 5720b1044f2fc0c53ba37beac55464525d9e7a7e Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Wed, 2 Oct 2024 10:14:47 +0300 Subject: [PATCH] optee-client: switch systemd service to notify type optee-client 4.3 supports systemd sd-notify to inform systemd and other services that it has started. Signed-off-by: Mikko Rapeli Signed-off-by: Jon Mason --- .../recipes-security/optee/optee-client/tee-supplicant@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service b/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service index 8325b6be..e3039fde 100644 --- a/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service +++ b/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service @@ -7,6 +7,7 @@ Conflicts=shutdown.target Before=tpm2.target sysinit.target shutdown.target [Service] +Type=notify EnvironmentFile=-@sysconfdir@/default/tee-supplicant ExecStart=@sbindir@/tee-supplicant $OPTARGS ExecStop=-/bin/sh -c "/sbin/modprobe -v -r tpm_ftpm_tee ; /bin/kill $MAINPID"