diff mbox series

[meta-selinux] policycoreutils: remove confusing RDEPENDS class-target override

Message ID 20260914064145.3572321-1-chenqi_hycx@cetc.com.cn
State New
Headers show
Series [meta-selinux] policycoreutils: remove confusing RDEPENDS class-target override | expand

Commit Message

Chen Qi Sept. 14, 2026, 6:41 a.m. UTC
From: Chen Qi <chenqi_hycx@cetc.com.cn>

This setting was there since the born of the recipe. But in actual
fact the utilities are mostly written in C. Such RDEPENDS is not
necessary. What's more confusing is that such dependency is only
for target.

Remove this setting. If it turns out some utility *really* needs
selinux-python, we should set its own RDEPENDS.

Signed-off-by: Chen Qi <chenqi_hycx@cetc.com.cn>
---
 recipes-security/selinux/policycoreutils_3.10.bb | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-security/selinux/policycoreutils_3.10.bb b/recipes-security/selinux/policycoreutils_3.10.bb
index 42b4666..64b8049 100644
--- a/recipes-security/selinux/policycoreutils_3.10.bb
+++ b/recipes-security/selinux/policycoreutils_3.10.bb
@@ -56,7 +56,6 @@  RDEPENDS:${PN}-setsebool = "\
     libselinux \
     libsemanage \
 "
-RDEPENDS:${PN}:class-target = "selinux-python"
 
 # The purpose of the following settings is to split out each utility
 # into its own package and make the main package, policycoreutils, an