From d28f7276fd464ded9fa5f3403c73c3df300260b8 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 8 May 2024 14:51:32 -0400 Subject: 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 (cherry picked from commit c7c181b3986803e49844e1e371643b6545e8681e) --- .../packagegroups/packagegroup-agl-core-selinux-guest.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg