diff mbox series

[3/6] rpm: Enable PACKAGECONFIG[acl audit selinux] by DISTRO_FEATURES

Message ID 831673f23f130b01228e0252fbb750b459062fcb.1784039919.git.joerg.sommer@navimatix.de
State Under Review
Headers show
Series [1/6] dbus: Enable PACKAGECONFIG[audit] by DISTRO_FEATURES | expand

Commit Message

Jörg Sommer July 14, 2026, 2:41 p.m. UTC
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 mbox series

Patch

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)} \
+    archive \
+"
 
 PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
 PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"