From 04aa6c4b63698fba650fcd375059f616a868df96 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 18 Oct 2025 07:12:03 +0200 Subject: [PATCH] libteam: Add missing dependencies revealed by ptests Fixes ptests provided kernel has team driver enabled Signed-off-by: Khem Raj (cherry picked from commit df35bef3ae6411900efdfc3ea5ade23820e9af2f) Signed-off-by: Gyorgy Sarvari --- meta-oe/recipes-support/libteam/libteam_1.31.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/libteam/libteam_1.31.bb b/meta-oe/recipes-support/libteam/libteam_1.31.bb index ad84389013..c8397e002c 100644 --- a/meta-oe/recipes-support/libteam/libteam_1.31.bb +++ b/meta-oe/recipes-support/libteam/libteam_1.31.bb @@ -34,7 +34,13 @@ FILES:${PN}-utils = "${bindir}/bond2team \ " RDEPENDS:${PN}-utils = "bash" -RDEPENDS:${PN}-ptest = "python3-core" +RDEPENDS:${PN}-ptest = "python3-core libteam-utils" +# Ensure kernel has these mods enabled features/net/team/team.scc +RRECOMMENDS:${PN} += "kernel-module-team kernel-module-team-mode-activebackup \ + kernel-module-team-mode-broadcast \ + kernel-module-team-mode-loadbalance \ + kernel-module-team-mode-random \ + kernel-module-team-mode-roundrobin" do_install_ptest() { install ${S}/scripts/team_basic_test.py ${D}${PTEST_PATH}/