make apt non-interactive in install_build_deps.sh
In Ubuntu Bionic there is need to update libssl which causes system services restart and apt asks user to allow this restart. It cases build script to hang and build fails due to timeout. Additional dpkg options and DEBIAN_FRONTEND=noninteractive solves the problem
This commit is contained in:
parent
6cdc28856d
commit
3939fdec5b
@ -14,9 +14,14 @@ if [ $? == 0 ]
|
||||
then
|
||||
# DEB-based distro
|
||||
install_libdir=/usr/lib
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install -y --force-yes dpkg-dev git wget \
|
||||
sudo dpkg-reconfigure libc6
|
||||
sudo -E apt-get -q -o Dpkg::Options::=--force-confold \
|
||||
-o Dpkg::Options::=--force-confdef \
|
||||
-y --force-yes \
|
||||
install dpkg-dev git wget \
|
||||
build-essential libssl-dev ncurses-dev bison flex \
|
||||
perl libtool libpcre3-dev tcl tcl-dev uuid \
|
||||
uuid-dev libsqlite3-dev liblzma-dev libpam0g-dev pkg-config \
|
||||
|
Loading…
x
Reference in New Issue
Block a user