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:
@@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=TEE Supplicant
|
Description=TEE Supplicant
|
||||||
|
ConditionPathExistsGlob=/dev/teepriv[0-9]*
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=TEE Supplicant
|
Description=TEE Supplicant
|
||||||
|
ConditionPathExistsGlob=/dev/teepriv[0-9]*
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
|
|||||||
Reference in New Issue
Block a user