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 86FBDC47DDB for ; Wed, 31 Jan 2024 02:43:24 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.5856.1706668999703279001 for ; Tue, 30 Jan 2024 18:43:20 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 8C6EE40BE6; Wed, 31 Jan 2024 02:43:18 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PilY71rmAfeO; Wed, 31 Jan 2024 02:43:18 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 70C2140AB7; Wed, 31 Jan 2024 02:43:17 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 561CF163DF0; Tue, 30 Jan 2024 21:43:16 -0500 (EST) Date: Tue, 30 Jan 2024 21:43:16 -0500 From: Denys Dmytriyenko To: Yi Zhao Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] [meta-selinux][PATCH] rpm: update PACKAGECONFIG for CMake Message-ID: <20240131024316.GA15614@denix.org> References: <20240130205042.2641514-1-denis@denix.org> <8ddc0850-dcda-4c9a-a3f4-92763d6be27b@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ddc0850-dcda-4c9a-a3f4-92763d6be27b@windriver.com> User-Agent: Mutt/1.5.20 (2009-06-14) List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 31 Jan 2024 02:43:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/62346 On Wed, Jan 31, 2024 at 10:18:19AM +0800, Yi Zhao wrote: > > On 1/31/24 04:50, Denys Dmytriyenko wrote: > >Version 4.19 has migrated from autoconf to CMake, update PACKAGECONFIG > >accordingly. > > > >https://git.openembedded.org/openembedded-core/commit/?id=38549d462b399e3a63335f60a44c8bbced98639a > > > >Signed-off-by: Denys Dmytriyenko > >--- > > recipes-devtools/rpm/rpm_selinux.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/recipes-devtools/rpm/rpm_selinux.inc b/recipes-devtools/rpm/rpm_selinux.inc > >index b6e0e7c..29eefbf 100644 > >--- a/recipes-devtools/rpm/rpm_selinux.inc > >+++ b/recipes-devtools/rpm/rpm_selinux.inc > >@@ -1,2 +1,2 @@ > > inherit enable-selinux > >-PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" > >+PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux" > > I see that PACKAGECONFIG[selinux] has been added to rpm recipe in > oe-core. We can just remove this line. Unfortunately, it doesn't have the required "libselinux" dependency in oe-core. -- Denys