summaryrefslogtreecommitdiffstats
path: root/daemon/.packaging/centos/7/pre-run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/.packaging/centos/7/pre-run.sh')
-rwxr-xr-xdaemon/.packaging/centos/7/pre-run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/.packaging/centos/7/pre-run.sh b/daemon/.packaging/centos/7/pre-run.sh
new file mode 100755
index 0000000..ee15ec7
--- /dev/null
+++ b/daemon/.packaging/centos/7/pre-run.sh
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+yum update -y
+yum install -y wget epel-release
+
+# add build repository
+cd /etc/yum.repos.d/
+wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/CentOS_7_EPEL/home:CZ-NIC:knot-resolver-latest.repo