Skip to contentSkip to conversation

ptest-packagelists: Include libseccomp only when seccomp distro feature is enabled

PATCH New Khem Raj 1 participant 1 message Dec 13, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ptest-packagelists: Include libseccomp only when seccomp distro feature is enabled

This package does not get included without this distro features so there is no need to synthesize ptest image for libseccomp without it.

---
 meta/conf/distro/include/ptest-packagelists.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/ptest-packagelists.inc +1 -1
index eb1c2a440d..5cde60fb52 100644
@@ -116,7 +116,7 @@ PTESTS_SLOW = "\
     libgcrypt \
     libmodule-build-perl \
     libpng \
-    libseccomp \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'libseccomp', '',d)} \
     lttng-tools \
     lz4 \
     openssh \