meta-agl-ic-container: fix packagegroup-agl-core-selinux-guest 63/29863/1 quillback
authorScott Murray <scott.murray@konsulko.com>
Wed, 8 May 2024 18:51:32 +0000 (14:51 -0400)
committerScott Murray <scott.murray@konsulko.com>
Fri, 10 May 2024 16:00:27 +0000 (16:00 +0000)
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>
(cherry picked from commit c7c181b3986803e49844e1e371643b6545e8681e)

meta-agl-ic-container/dynamic-layers/meta-selinux/recipes-security/packagegroups/packagegroup-agl-core-selinux-guest.bb

index d58d901..dd06028 100644 (file)
@@ -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