diff mbox series

[meta-security,2/2] packagegroup-core-security: add os-release

Message ID 20230622170620.3800602-2-akuster808@gmail.com
State New
Headers show
Series [meta-security,1/2] openscap: update to 1.3.8 | expand

Commit Message

akuster808 June 22, 2023, 5:06 p.m. UTC
Exclude openscap and scap-security-guide if musl

Fix RDEPENDS list to include compliance packages.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 recipes-core/packagegroup/packagegroup-core-security.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/recipes-core/packagegroup/packagegroup-core-security.bb b/recipes-core/packagegroup/packagegroup-core-security.bb
index 8dcbbc7..494745b 100644
--- a/recipes-core/packagegroup/packagegroup-core-security.bb
+++ b/recipes-core/packagegroup/packagegroup-core-security.bb
@@ -22,6 +22,7 @@  RDEPENDS:packagegroup-core-security = "\
     packagegroup-security-audit \
     packagegroup-security-ids  \
     packagegroup-security-mac  \
+    packagegroup-security-compliance  \
     ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \
     "
 
@@ -97,8 +98,11 @@  RDEPENDS:packagegroup-security-compliance = " \
     lynis \
     openscap \
     scap-security-guide \
+    os-release \
     "
 
+RDEPENDS:packagegroup-security-compliance:remove:libc-musl = "openscap scap-security-guide"
+
 RDEPENDS:packagegroup-meta-security-ptest-packages = "\
     ptest-runner \
     samhain-standalone-ptest \