Add SELinux specific configuration snippet for busybox.

This patch adds a SELinux specific configuration snippet for busybox to
enable SELinux support in busybox out of the box. This is needed to enable
SELinux specific command line options for certain commands like ps -Z.

Signed-off-by: "Weisser, Pascal" <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
This commit is contained in:
Weisser, Pascal 2024-06-24 11:02:00 +02:00 committed by Joe MacDonald
parent bef33cdd75
commit 9e9c7b88ee
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://selinux.cfg"
DEPENDS:append = " libselinux"
PTEST_BINDIR = "0" PTEST_BINDIR = "0"
FILES:${PN} += "${libdir}/${PN}" FILES:${PN} += "${libdir}/${PN}"

View File

@ -0,0 +1 @@
CONFIG_SELINUX=y