434d2db5d4
I don't see anywhere we bring this in, especially on a minimal build. In 2020 it seems like a base dependency, put it alongside software-properties-common that installs the other apt helper bits. Change-Id: I5b079eac4912cb4a164e9aa6158ed106a28f576c
18 lines
453 B
Bash
Executable File
18 lines
453 B
Bash
Executable File
#!/bin/bash
|
|
# Install baseline packages and tools.
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
case $DISTRO_NAME in
|
|
'ubuntu'|'debian')
|
|
# Note: add-apt-repository would be nice for RPM platforms too - so when we
|
|
# need something like it, create a wrapper in dpkg/bin and fedora/bin.
|
|
apt-get -y update
|
|
install-packages software-properties-common apt-transport-https
|
|
;;
|
|
esac
|