From patchwork Mon Sep 14 06:41:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Qi X-Patchwork-Id: 98171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15812C88E64 for ; Mon, 14 Sep 2026 06:41:57 +0000 (UTC) Received: from cetc.com.cn (cetc.com.cn [220.181.39.39]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.14449.1789368113587096065 for ; Sun, 13 Sep 2026 23:41:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: cetc.com.cn, ip: 220.181.39.39, mailfrom: chenqi_hycx@cetc.com.cn) Received: from mail.cetc.com.cn (unknown [101.95.142.114]) by mtasvr (Coremail) with SMTP id _____wDXFXr8lqdqBw8BAA--.5659S3; Mon, 14 Sep 2026 14:41:01 +0800 (CST) Received: from server-7r32.. (unknown [101.95.142.114]) by front01 (Coremail) with SMTP id C6CowABn6Wmwlqdqt+UwAA--.35924S2; Mon, 14 Sep 2026 14:39:44 +0800 (CST) From: chenqi_hycx@cetc.com.cn To: yocto-patches@lists.yoctoproject.org Cc: joe.macdonald@siemens.com Subject: [meta-selinux][PATCH] policycoreutils: remove confusing RDEPENDS class-target override Date: Mon, 14 Sep 2026 14:41:45 +0800 Message-ID: <20260914064145.3572321-1-chenqi_hycx@cetc.com.cn> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CM-TRANSID: C6CowABn6Wmwlqdqt+UwAA--.35924S2 X-CM-SenderInfo: xfkh015lbk5un06fv33fof0zgofq/1tbiAQYKCmqmqC0YVAAAsC X-CM-DELIVERINFO: =?B?muLTqpMTIGijefgSB8euu+6OLk7VHJpweJu2O0jc6H0leTZ35Rt/fA/pqtc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AwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0 cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z2 80aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIF yTuYvjxU4J5rDUUUU List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Sep 2026 06:41:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/4826 From: Chen Qi 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 --- recipes-security/selinux/policycoreutils_3.10.bb | 1 - 1 file changed, 1 deletion(-) 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