Remove workaround for missing debian stretch security repo

Debian stretch is no longer tested on OSA master branch and this
workaround should no longer be needed on stable branches

Change-Id: I4aa9ca3b95cbfb6afa9a0137fceeb3fc4971e284
This commit is contained in:
Jonathan Rosser 2020-05-13 11:56:28 +01:00
parent 9337337d1d
commit 54e1b78f80
1 changed files with 0 additions and 4 deletions

View File

@ -61,10 +61,6 @@ case "${ID,,}" in
pkg_list="python3-devel redhat-lsb-core redhat-rpm-config yum-utils"
;;
ubuntu|debian)
# NOTE(jrosser) remove this once infra debian images point to the upstream security repo
if `/bin/grep -q "stretch" /etc/os-release` && [ -f "/etc/apt/sources.list.d/security.list" ]; then
echo 'deb http://security.debian.org stretch/updates main contrib' | sudo tee /etc/apt/sources.list.d/security.list > /dev/null
fi
pkg_list="python3-dev lsb-release curl"
sudo apt-get update
;;