1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

optee-client: Add path condition to tee-supplicant.service

Without /dev/teepriv[0-9]*, tee-supplicant.service will fail. Prevent
a failure with a condition to check if /dev/teepriv[0-9]* path exists.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Javier Tia
2023-09-08 10:32:22 -06:00
committed by Jon Mason
parent a262d308e7
commit f02d065dce
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
[Unit]
Description=TEE Supplicant
ConditionPathExistsGlob=/dev/teepriv[0-9]*
[Service]
User=root

View File

@@ -1,5 +1,6 @@
[Unit]
Description=TEE Supplicant
ConditionPathExistsGlob=/dev/teepriv[0-9]*
[Service]
User=root