Skip to contentSkip to conversation

Pull request (cover letter only)

PATCH In review Deepak Rathore 1 participant 4 messages Mar 15

lore
Share & tools
lore
#0 lore raw

cover Pull request (cover letter only)

From: Deepak Rathore <[email protected]>

This series extends a set of SELinux recipes to support native and nativesdk variants. These packages are needed as host or SDK artifacts in certain dependency chains, where dependency resolution fails when only the target variant exists.

None of the changes alter target package behavior; they solely enable the required native/nativesdk build paths.

Testing:
- Built each recipe as native/nativesdk on x86-64 with no errors.
- Verified existing target builds are unaffected.

Deepak Rathore (4):
checkpolicy: extend SELinux tooling for nativesdk builds
libsepol: extend SELinux tooling for nativesdk builds
selinux-python: extend SELinux tooling for native builds
semodule-utils: extend SELinux tooling for nativesdk builds

---
 recipes-security/selinux/checkpolicy_3.10.bb    | 2 +-
 recipes-security/selinux/libsepol_3.10.bb       | 2 +-
 recipes-security/selinux/selinux-python_3.10.bb | 1 +
 recipes-security/selinux/semodule-utils_3.10.bb | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.35.6
#1 lore raw

PATCH 1/4 checkpolicy: extend SELinux tooling for nativesdk 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 nativesdk variant for build and SDK integration paths.

recipes-security/selinux/checkpolicy_3.10.bb +1 -1
index 7ee9269..55a5ba0 100644
@@ -18,4 +18,4 @@ do_install:append() {
     install test/dispol ${D}/${bindir}/sedispol
 }
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.35.6
#2 lore raw

PATCH 2/4 libsepol: extend SELinux tooling for nativesdk builds

In reply to Deepak Rathore

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 nativesdk variant for build and SDK integration paths.

recipes-security/selinux/libsepol_3.10.bb +1 -1
index 0423a2a..6cf4509 100644
@@ -13,4 +13,4 @@ inherit lib_package
 
 DEPENDS = "flex-native"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.35.6
#3 lore raw

PATCH 4/4 semodule-utils: extend SELinux tooling for nativesdk builds

In reply to Deepak Rathore

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 nativesdk variant for build and SDK integration paths.

recipes-security/selinux/semodule-utils_3.10.bb +1 -1
index 2015811..e8095f8 100644
@@ -23,4 +23,4 @@ FILES:${PN}-semodule-package = "\
         ${bindir}/semodule_unpackage \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.35.6