Skip to content

Commit

Permalink
fix(yocto/raspberrypi): fix SELinux not enabled in kernel build confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
nikAizuddin committed Jun 19, 2023
1 parent 4d38bf6 commit c322c23
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CONFIG_AUDIT=y
CONFIG_NET=y
CONFIG_INET=y
CONFIG_IPV6=y
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI:append = " \
${@bb.utils.contains("DISTRO_FEATURES", "selinux", "file://enable-selinux.cfg", "", d)} \
"

0 comments on commit c322c23

Please sign in to comment.