Commit 63d8f2be authored by Antonio Terceiro's avatar Antonio Terceiro

setup: set Debconf frontend to noninteractive

This allows complete automation when running tests for packages that
would otherwise require manual intervention to answer Debconf questions.
parent 667e0885
......@@ -35,6 +35,8 @@ create_chroot() {
sed -e 's/^deb\s/deb-src /' "${path}/etc/apt/sources.list" > "${path}/etc/apt/sources.list.d/sources.list"
chroot "$path" apt-get update
echo 'debconf debconf/frontend select noninteractive' | chroot "$path" debconf-set-selections
}
update_chroot() {
......
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