From 48c4e733f4eaa4ca90c589c1e029e9785ce7a806 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 --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 0e11f0cc7ec..a791f0a5bf5 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)