diff mbox series

[meta-selinux,master,3/4] selinux-python: extend SELinux tooling for native builds

Message ID 20260315124642.2968859-1-deeratho@cisco.com
State New
Headers show
Series None | expand

Commit Message

Deepak Rathore March 15, 2026, 12:46 p.m. UTC
From: Deepak Rathore <deeratho@cisco.com>

Some SDK dependency chains require SELinux tools to be available as host/SDK
artifacts. The current recipes only partially provide this, which can lead to
dependency resolution failures when these tools are pulled into SDK-oriented
builds.

This change does not alter target package behavior; it only enables required
native variant for build and SDK integration paths.

Signed-off-by: Deepak Rathore <deeratho@cisco.com>
---
Changes from v1->v2: Added new line at the end of recipe.
diff mbox series

Patch

diff --git a/recipes-security/selinux/selinux-python_3.10.bb b/recipes-security/selinux/selinux-python_3.10.bb
index 7a4b781..5756c6a 100644
--- a/recipes-security/selinux/selinux-python_3.10.bb
+++ b/recipes-security/selinux/selinux-python_3.10.bb
@@ -127,3 +127,4 @@  do_install() {
     sed -i -e 's,${WORKDIR},,g' \
         ${D}${PYTHON_SITEPACKAGES_DIR}/sepolicy-${PV}.dist-info/direct_url.json
 }
+BBCLASSEXTEND += "native"