From f931568ac60293e812b4aa5b2b671d9eefd96010 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Tue, 23 Jul 2024 20:31:08 +0200 Subject: [PATCH] Fix CentOS7 setup C7 is EOL, has been moved to vault.centos.org. --- .github/workflows/selinux.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/selinux.yml b/.github/workflows/selinux.yml index 852db20..138eb0c 100644 --- a/.github/workflows/selinux.yml +++ b/.github/workflows/selinux.yml @@ -15,6 +15,10 @@ jobs: steps: - name: Prepare run: | + sed -i \ + -e 's,^#baseurl=http://mirror.centos.org/centos/,baseurl=https://vault.centos.org/centos/,g' \ + -e 's,^mirrorlist=http://mirrorlist.centos.org/,#&1,' \ + /etc/yum.repos.d/*.repo yum install -y selinux-policy-devel - uses: actions/checkout@v2 - name: Build