From: "Jörg Sommer" <joerg.sommer@navimatix.de>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/6] rpm: Enable PACKAGECONFIG[acl audit selinux] by DISTRO_FEATURES
Date: Tue, 4 Aug 2026 18:15:54 +0200 [thread overview]
Message-ID: <anINzsmQ7QmHNKrB@navimatix.de> (raw)
In-Reply-To: <nvgg2pt3ksylrazgnihfdkqnfaht7bn25mj5tdfqtw5l6v2bbu@ssha5wbn5fui>
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
Dmitry Baryshkov schrieb am Di 04. Aug, 15:24 (+0300):
> On Tue, Jul 14, 2026 at 04:41:39PM +0200, Jörg Sommer wrote:
> > From: Jörg Sommer <joerg.sommer@navimatix.de>
> >
> > Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
> > ---
> > meta/recipes-devtools/rpm/rpm_4.20.1.bb | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/rpm/rpm_4.20.1.bb b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
> > index ba967ec1fa..17e75c3e14 100644
> > --- a/meta/recipes-devtools/rpm/rpm_4.20.1.bb
> > +++ b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
> > @@ -64,7 +64,10 @@ BBCLASSEXTEND = "native nativesdk"
> > # https://github.com/llvm/llvm-project/issues/82541
> > TOOLCHAIN = "gcc"
> >
> > -PACKAGECONFIG ??= "archive"
> > +PACKAGECONFIG ??= "\
> > + ${@bb.utils.filter('DISTRO_FEATURES', 'acl audit selinux', d)} \
>
> This broke SDK builds for SELinux-enabled distros since nativesdk-rpm
> depends on nativesdk-libselinux, but it is not there by default. [1]
> should fix the issue, if it gets accepted.
>
> [1] https://lore.kernel.org/r/20260804114749.625810-1-dmitry.baryshkov@oss.qualcomm.com/
>
> Otherwise, we'd need to drop this patch.
Or we could drop only selinux from the list. But this leaves the question
what someone should do when she enables rpm with selinux and wants an SDK.
So, hopfully your patch gets accepted.
Best regards, Jörg
--
Navimatix GmbH T: 03641 - 327 99 0
Tatzendpromenade 2 F: 03641 - 526 306
07745 Jena www.navimatix.de
Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6684 bytes --]
next prev parent reply other threads:[~2026-08-04 16:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 14:41 Enable audit and other PACKAGECONFIG by DISTRO_FEATURES Jörg Sommer
2026-07-14 14:41 ` [PATCH 1/6] dbus: Enable PACKAGECONFIG[audit] " Jörg Sommer
2026-07-14 14:41 ` [PATCH 2/6] libpam: " Jörg Sommer
2026-07-14 14:41 ` [PATCH 3/6] rpm: Enable PACKAGECONFIG[acl audit selinux] " Jörg Sommer
2026-08-04 12:24 ` Dmitry Baryshkov
2026-08-04 16:15 ` Jörg Sommer [this message]
2026-07-14 14:41 ` [PATCH 4/6] cronie: Enable PACKAGECONFIG[audit " Jörg Sommer
2026-07-14 14:41 ` [PATCH 5/6] shadow: Enable PACKAGECONFIG[acl audit " Jörg Sommer
2026-07-14 14:41 ` [PATCH 6/6] sudo: Enable PACKAGECONFIG[audit " Jörg Sommer
2026-07-16 9:21 ` [OE-core] Enable audit and other PACKAGECONFIG " Antonin Godard
2026-07-16 19:44 ` Jörg Sommer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=anINzsmQ7QmHNKrB@navimatix.de \
--to=joerg.sommer@navimatix.de \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox