Skip to content

Commit 5737c2b

Browse files
authored
Workaround CentOS7 EOL
1 parent a15d0b2 commit 5737c2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build-full.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ echo "-- GITHUB_RUN_NUMBER: $4"
99

1010
umask 0000;
1111

12+
echo "Fixing CentOS 7 EOL"
13+
14+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
15+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
16+
yum clean all
17+
yum-config-manager --disable centos-sclo-sclo
18+
19+
####
20+
1221
cd /io;
1322
mkdir src/certs;
1423
curl --silent -k https://raw.githubusercontent.com/RichardAH/rippled-release-builder/main/ca-bundle/certbundle.h -o src/certs/certbundle.h;

0 commit comments

Comments
 (0)