aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-platform/images
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/recipes-platform/images')
-rw-r--r--meta-agl-core/recipes-platform/images/agl-image-boot.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-agl-core/recipes-platform/images/agl-image-boot.inc b/meta-agl-core/recipes-platform/images/agl-image-boot.inc
index 60d671bca..b7cb19496 100644
--- a/meta-agl-core/recipes-platform/images/agl-image-boot.inc
+++ b/meta-agl-core/recipes-platform/images/agl-image-boot.inc
@@ -1,6 +1,15 @@
IMAGE_LINGUAS = " "
-inherit core-image
+AGL_BASE_IMAGE ?= "core-image"
+
+inherit ${AGL_BASE_IMAGE}
+
+FEATURE_PACKAGES_selinux = " \
+ packagegroup-agl-core-selinux \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'packagegroup-agl-core-selinux-devel', '', d)} \
+"
+
+IMAGE_FEATURES:append = " ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
IMAGE_INSTALL = "packagegroup-agl-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"