Skip to contentSkip to conversation

selinux-python: extend SELinux tooling for native builds

PATCH In review Deepak Rathore 2 participants 2 messages Mar 15 – Apr 13

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 selinux-python: extend SELinux tooling for native builds

From: Deepak Rathore <[email protected]>

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.

---
Changes from v1->v2: Added new line at the end of recipe.

recipes-security/selinux/selinux-python_3.10.bb +1 -0
index 7a4b781..5756c6a 100644
@@ -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"
Signature · 1 line
2.35.6
#1 lore raw

Hi Deepak,

This patch appears to depend on a patch of audit recipe in meta-openembedded layer, which has not yet been merged. Would it be possible to merge the other patches in this series first? Thanks.

//Yi

Quoted 23 lines · Deepak Rathore via lists.yoctoproject.org

From: Deepak Rathore <[email protected]>

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.

---
Changes from v1->v2: Added new line at the end of recipe.

recipes-security/selinux/selinux-python_3.10.bb +1 -0
index 7a4b781..5756c6a 100644
@@ -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"