Message ID | 20241002071447.64389-1-mikko.rapeli@linaro.org |
---|---|
State | New |
Headers | show |
Series | [master-next] optee-client: switch systemd service to notify type | expand |
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"
optee-client 4.3 supports systemd sd-notify to inform systemd and other services that it has started. Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> --- .../recipes-security/optee/optee-client/tee-supplicant@.service | 1 + 1 file changed, 1 insertion(+)