aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/linux/disable_selinux.sh
blob: a788818e23a8d67907f9775939814d1b6b0528ad (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
#Copyright (C) 2023 The Qt Company Ltd
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

# We need to disable selinux while we are overwriting some binaries
# required by it. If this is not done, ICU provisioning will create
# template that is not booting.

sudo sed -i s/SELINUX=enforcing/SELINUX=disabled/g  /etc/selinux/config