6f1f60983f
install-packages is running before install.d phase, there is a chance that installing a package like "container-selinux" will failed the build, moving "selinux-permissive" to run at pre-install stage make more sense. Change-Id: I32f988be725d4b385c3765c47a00cd57c53d7d71
12 lines
193 B
Bash
Executable File
12 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
echo "SELINUX=permissive" > /etc/selinux/config
|
|
echo "SELINUXTYPE=targeted" >> /etc/selinux/config
|
|
|