Skip to content

Commit

Permalink
Centos 7 has been EOL'ed as of July 1 2024. Use vault.centos.org inst…
Browse files Browse the repository at this point in the history
…ead of mirror.centos.org now
  • Loading branch information
nalinigans committed Jul 3, 2024
1 parent eb4d1b9 commit 14a1737
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ install_prereqs_for_macos() {
}

install_prereqs_for_centos7() {
# Centos 7 has been EOL'ed as of 07/01/2024. Use vault.centos.org instead of mirrorlist.centos.org
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum install -y -q which wget git &&
yum install -y -q autoconf automake libtool unzip &&
yum install -y -q cmake3 patch &&
Expand Down

0 comments on commit 14a1737

Please sign in to comment.