From aaf0574af7b4ca4e1974c1e5a8a95e0a025b563b Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Fri, 18 Mar 2022 00:03:55 -0700 Subject: [PATCH] Set DEBIAN_FRONTEND to be noninteractive in make_apt.sh. This would prevent timeout issues where apt-get gets stuck on some prompt. PiperOrigin-RevId: 435558241 --- tools/make_apt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/make_apt.sh b/tools/make_apt.sh index 58eaa189f..863b1c2d7 100755 --- a/tools/make_apt.sh +++ b/tools/make_apt.sh @@ -30,6 +30,7 @@ readonly root shift; shift; shift # For "$@" below. # Ensure that we have the correct packages installed. +export DEBIAN_FRONTEND=noninteractive function apt_install() { while true; do sudo apt-get update &&