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
11 lines
193 B
Bash
Executable file
11 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
|
|
|