From 9629fd9554a2e6f33453f77d7830415edf7e8dbf Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 3 Jun 2024 17:15:11 -0700 Subject: [PATCH] ci: workaround for centos stream 8 being EOLed Signed-off-by: Kir Kolyshkin (cherry picked from commit 48c4e733f4eaa4ca90c589c1e029e9785ce7a806) Signed-off-by: lifubang --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 76a6a00cc22..7b683da1baa 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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)