From e3a5a13cca985df2c08f8a84299e041e4afb25fa Mon Sep 17 00:00:00 2001
From: Santeri Salko <santeri.salko@huawei.com>
Date: Tue, 8 Jun 2021 01:51:29 +0300
Subject: [PATCH] allscenarios-image-common.inc: Add tee-supplicant to image

tee-supplicant (Linux user-space daemon) is needed to
use OP-TEE secure OS apps. Add it into the image when
OP-TEE is enabled.

Signed-off-by: Santeri Salko <santeri.salko@huawei.com>
---
 .../recipes-core/images/allscenarios-image-common.inc           | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-ohos-core/recipes-core/images/allscenarios-image-common.inc b/meta-ohos-core/recipes-core/images/allscenarios-image-common.inc
index df4dc8b6..f06bfd71 100644
--- a/meta-ohos-core/recipes-core/images/allscenarios-image-common.inc
+++ b/meta-ohos-core/recipes-core/images/allscenarios-image-common.inc
@@ -12,3 +12,5 @@ IMAGE_INSTALL_append = "\
 			packagegroup-ble-essentials \
 			gdbserver \
 			"
+
+IMAGE_INSTALL_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} "
-- 
GitLab