Merge pull request #4305 from lifubang/backport-cs8eol

[1.1] ci: workaround for centos stream 8 being EOLed
This commit is contained in:
Kir Kolyshkin
2024-06-04 10:44:40 -07:00
committed by GitHub
+4
View File
@@ -106,6 +106,10 @@ task:
sysctl --system
;;
centos-stream-8)
# CS8 is EOF. As a temp workaround, fix repo URLs to point to vault.
for f in /etc/yum.repos.d/*.repo; do \
sed -i -e 's,^mirrorlist=,#\0,' -e 's,^#baseurl=http://mirror\.,baseurl=http://vault.,' $f; \
done
yum config-manager --set-enabled powertools # for glibc-static
;;
centos-stream-9)