mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
overlay coreos/config: Disable SELinux in config for SDK
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
bcdd3950f6
commit
7f3fd8cf61
5
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sec-policy/selinux-base
vendored
Normal file
5
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sec-policy/selinux-base
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
cros_post_src_install_disable_on_sdk() {
|
||||
if [[ $(flatcar_target) = 'sdk' ]] ; then
|
||||
sed -i -e 's/SELINUX=permissive/SELINUX=disabled/' "${ED}"/etc/selinux/config
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user