Skip to contentSkip to conversation

meta-arago-test: Add optee-test, strongswan, and libgpiod-tools to image

PATCH New Andrew Davis 1 participant 2 messages Jul 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 meta-arago-test: Add optee-test, strongswan, and libgpiod-tools to image

These packages are used by ltp-ddt and the test framework. These are added to the default Arago images, but when doing upstream testing with Poky these packages are missing. Add these to the base testing layer.

---

Changes for v2:
- Add conditional on OPTEEMACHINE

 meta-arago-test/recipes-core/packagegroups/ti-test.bb        | 2 ++
 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb | 1 +
 2 files changed, 3 insertions(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +2 -0
index fb4c3e4c..a44dd8d7 100644
@@ -42,6 +42,7 @@ TI_TEST_BASE = "\
     nbench-byte \
     netperf \
     openntpd \
+    ${@"optee-test" if d.getVar('OPTEEMACHINE') else ""} \
     pcitest \
     perf \
     powertop \
@@ -54,6 +55,7 @@ TI_TEST_BASE = "\
     stream \
     stress \
     stress-ng \
+    strongswan \
     tcpdump \
     v4l-utils \
     xdp-tools-arago \
meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb +1 -0
index a5468d4c..4f8767ca 100644
@@ -33,6 +33,7 @@ RDEPENDS:${PN} += "\
     pm-qa \
     serialcheck \
     memtester \
+    libgpiod-tools \
 "
 
 do_install:prepend() {
Signature · 1 line
2.39.2
#1 lore raw

PATCH v2 2/2 packagegroup-arago-base: Include OP-TEE packages again and remove test

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.

---
 .../recipes-core/packagegroups/packagegroup-arago-base.bb      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +1 -2
index 95e4250b..5cb4e30c 100644
@@ -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}"
Signature · 1 line
2.39.2