summaryrefslogtreecommitdiffstats
path: root/daemon/.packaging/ubuntu/16.04/pre-run.sh
blob: bb81453ad6c75ffa356caae723cac8b24483bec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-3.0-or-later

# add build repository
apt-get update
apt-get install -y wget gnupg apt-utils

echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/xUbuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key

apt-get update
apt-get upgrade -y