Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions install-middleware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#
#set -x

# Prevent interactive prompts during package installation (for CI/CD environments)
export DEBIAN_FRONTEND=noninteractive
export TZ=Etc/UTC
Comment thread
narenr94 marked this conversation as resolved.

if [[ -z "${MAKEFLAGS}" ]]; then
export MAKEFLAGS=-j$(nproc)
fi
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function package_exists_lin_fn() {
function install_package_fn() {
if ! package_exists_lin_fn $1 ; then
echo "Installing $1"
sudo apt install $1 -y
sudo TZ=Etc/UTC DEBIAN_FRONTEND=noninteractive apt install $1 -y
Comment thread
narenr94 marked this conversation as resolved.
if [ $? == 0 ] ; then
INSTALL_STATUS_ARR+=("$1 was successfully installed.")
else
Expand Down Expand Up @@ -110,7 +110,7 @@ function pip_install_package_fn()

function install_pkgs_linux_fn()
{
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt update
install_package_fn git
Comment thread
narenr94 marked this conversation as resolved.
install_package_fn cmake
install_package_fn gcc
Expand Down
Loading