This patch adds SELinux packages for platforms building tisdk-default-image

However, this does not mean that SELinux will be enabled by default.
Additional boot time parameters are required to enable SELinux.

Signed-off-by: Aashvij Shenai <[email protected]>
---
 meta-arago-distro/conf/distro/arago.conf                     | 1 +
 meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index 8e094e02..3fc8252e 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -52,6 +52,7 @@ DISTRO_FEATURES:remove = "x11"
 DISTRO_FEATURES:append = " vulkan"
 DISTRO_FEATURES:append = " opencv"
 DISTRO_FEATURES:append = " openmp"
+DISTRO_FEATURES:append =" acl xattr pam selinux"
 
 # Normally target distro features will not be applied to native builds:
 # Native distro features on this list will use the target feature value
diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
index faae53d3..ff603b19 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
@@ -27,6 +27,7 @@ IMAGE_INSTALL += "\
     ti-demos \
     ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \
     packagegroup-arago-tisdk-sysrepo \
+    
${@bb.utils.contains('DISTRO_FEATURES','selinux','packagegroup-core-selinux','',d)}
 \
 "
 
 export IMAGE_BASENAME = "tisdk-default-image${ARAGO_IMAGE_SUFFIX}"
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15610): 
https://lists.yoctoproject.org/g/meta-arago/message/15610
Mute This Topic: https://lists.yoctoproject.org/mt/109569101/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to