summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-05-08 14:51:32 -0400
committerScott Murray <scott.murray@konsulko.com>2024-05-08 15:05:58 -0400
commitc7c181b3986803e49844e1e371643b6545e8681e (patch)
tree4e7344ed4201403d05b6674d1ea0a2b4088b5b18
parentdff743a39f2fec97f604406a04fba675c791bff6 (diff)
meta-agl-ic-container: fix packagegroup-agl-core-selinux-guest
packagegroup-agl-core-selinux-guest now triggers a packaging QA check due to it being marked as allarch and pulling in libraries that get renamed by the Debian library renaming logic used by upstream. To fix, follow what is done by the similar packagegroups in meta-selinux and not use packagegroup.bbclass. Bug-AGL: SPEC-5123 Change-Id: I1391977d5db3aad3d4e87ff8d043a3bb26b7074a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb b/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb
index d58d9013..dd060283 100644
--- a/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb
+++ b/meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb
@@ -2,7 +2,7 @@ SUMMARY = "SELinux packages for container guest"
DESCRIPTION = "SELinux packages required for AGL"
LICENSE = "MIT"
-inherit packagegroup features_check
+inherit features_check
REQUIRED_DISTRO_FEATURES = "selinux"
@@ -10,6 +10,8 @@ PACKAGES = " \
packagegroup-agl-core-selinux-guest \
"
+ALLOW_EMPTY:${PN} = "1"
+
# The packagegroup-agl-core-selinux is including auditd.
# But it shall run in host, shall not run in guest.
# This package group remove from host only package from packagegroup-agl-core-selinux