Skip to content

Commit

Permalink
fix(yocto/raspberrypi): fix SELinux not enabled by adding missing `CM…
Browse files Browse the repository at this point in the history
…DLINE` options
  • Loading branch information
nikAizuddin committed Jun 19, 2023
1 parent 742f99a commit 4d38bf6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions project/yocto/build/conf/multiconfig/raspberrypi0-2w-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ camera_auto_detect=1 \n\
# - https://github.com/RPi-Distro/firmware-nonfree/issues/29
#
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"

#
# Enable SELinux
#
CMDLINE:append = " \
selinux=1 \
security=selinux \
"
8 changes: 8 additions & 0 deletions project/yocto/build/conf/multiconfig/raspberrypi0-wifi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ MACHINE = "raspberrypi0-wifi"
# See https://git.yoctoproject.org/meta-raspberrypi/tree/docs/extra-build-config.md?h=honister#n247
#
ENABLE_UART = "1"

#
# Enable SELinux
#
CMDLINE:append = " \
selinux=1 \
security=selinux \
"
8 changes: 8 additions & 0 deletions project/yocto/build/conf/multiconfig/raspberrypi3-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ MACHINE = "raspberrypi3-64"
# See https://git.yoctoproject.org/meta-raspberrypi/tree/docs/extra-build-config.md?h=honister#n247
#
ENABLE_UART = "1"

#
# Enable SELinux
#
CMDLINE:append = " \
selinux=1 \
security=selinux \
"
8 changes: 8 additions & 0 deletions project/yocto/build/conf/multiconfig/raspberrypi4-64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ MACHINE = "raspberrypi4-64"
# UART
#
ENABLE_UART = "1"

#
# Enable SELinux
#
CMDLINE:append = " \
selinux=1 \
security=selinux \
"

0 comments on commit 4d38bf6

Please sign in to comment.