diff mbox series

[meta-arago,scarthgap/master,v2,2/2] packagegroup-arago-base: Include OP-TEE packages again and remove test

Message ID 20250728181942.579152-2-afd@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,scarthgap/master,v2,1/2] meta-arago-test: Add optee-test, strongswan, and libgpiod-tools to image | expand

Commit Message

Andrew Davis July 28, 2025, 6:19 p.m. UTC
OPTEEOUTPUTMACHINE is no longer defined, instead add OP-TEE packages if
OPTEEMACHINE is defined. While here remove optee-test as that is added
by the ti-test packagegroup and not needed for "base" images.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-base.bb      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
index 95e4250b..5cb4e30c 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
@@ -58,7 +58,6 @@  ARAGO_EXTRA:append:arago = "\
 OPTEE_PKGS = " \
     optee-os \
     optee-client \
-    optee-test \
     optee-examples \
 "
 
@@ -68,7 +67,7 @@  RDEPENDS:${PN} = "\
     ${@bb.utils.contains('MACHINE_FEATURES', 'alsa', '${ARAGO_ALSA_BASE}', '',d)} \
     ${ARAGO_BASE} \
     ${ARAGO_EXTRA} \
-    ${@bb.utils.contains_any('OPTEEOUTPUTMACHINE', 'ti', "${OPTEE_PKGS}", "", d)} \
+    ${@"${OPTEE_PKGS}" if d.getVar('OPTEEMACHINE') else ""} \
 "
 
 RDEPENDS:${PN}:append:k3 = " ${OPTEE_PKGS}"