Commit 46754239 authored by Olav Morken's avatar Olav Morken
Browse files

Fix debconf warnings

When we install our build dependencies, we get some warnings from

> debconf: unable to initialize frontend: Dialog
> debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/ line 78.)
> debconf: falling back to frontend: Readline

Fix those by specifying that we are running non-interactively.
parent 0e1941fd
......@@ -12,6 +12,10 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
work_dir="$(mktemp -d)"
cd "${work_dir}"
# Ensure that Debian package installations proceed without configuration prompts
# or warnings about configuration prompts.
export DEBIAN_FRONTEND=noninteractive
# Install required build dependencies
apt-get update
apt-get -y upgrade
......@@ -38,7 +42,6 @@ revision="2${lsb_release_name}~uninett"
export TZ="Europe/Oslo"
now=$(date +"%a, %d %b %Y %T %z")
export DEBIAN_FRONTEND=noninteractive
cat >> /etc/apt/sources.list << EOF
deb-src ${lsb_release_name} main
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment