From patchwork Tue Sep 15 02:23:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Qi X-Patchwork-Id: 98252 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 BA827C88E75 for ; Tue, 15 Sep 2026 02:24:14 +0000 (UTC) Received: from cetc.com.cn (cetc.com.cn [220.181.39.39]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.14507.1789439045455630830 for ; Mon, 14 Sep 2026 19:24:05 -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 _____wCn5XkRrKhqnHkBAA--.6927S3; Tue, 15 Sep 2026 10:23:13 +0800 (CST) Received: from server-7r32.. (unknown [101.95.142.114]) by front01 (Coremail) with SMTP id C6CowABn6WnBq6hqitQxAA--.38802S3; Tue, 15 Sep 2026 10:21:56 +0800 (CST) From: chenqi_hycx@cetc.com.cn To: yocto-patches@lists.yoctoproject.org Cc: joe.macdonald@siemens.com Subject: [meta-selinux][PATCH 2/2] policycoreutils: remove confusing RDEPENDS class-target override Date: Tue, 15 Sep 2026 10:23:55 +0800 Message-ID: <20260915022355.646123-2-chenqi_hycx@cetc.com.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260915022355.646123-1-chenqi_hycx@cetc.com.cn> References: <20260915022355.646123-1-chenqi_hycx@cetc.com.cn> MIME-Version: 1.0 X-CM-TRANSID: C6CowABn6WnBq6hqitQxAA--.38802S3 X-CM-SenderInfo: xfkh015lbk5un06fv33fof0zgofq/1tbiAQYLCmqn+a4I9gAAsi X-C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I8I3I0E7480Y4vE14v26r106r 1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xII jxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4 A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI 43ZEXa7IU8StC5UUUUU== 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 ; Tue, 15 Sep 2026 02:24:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/4847 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