From 441af1d35b2e556885e8f999b8d4ce78e83c6f85 Mon Sep 17 00:00:00 2001 From: madonuko Date: Fri, 27 Sep 2024 21:38:01 +0800 Subject: [PATCH] feat(ci/bootstrap): try sedding baseurl/metalink in repo file --- .github/workflows/bootstrap.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 74cee873ca..4a6096eafd 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -25,6 +25,8 @@ jobs: dnf install -y 'dnf-command(config-manager)' dnf config-manager --set-enabled crb dnf install -y https://dl.fedoraproject.org/pub/epel/${{ matrix.version }}/Everything/${{ matrix.arch }}/os/Packages/e/epel-release-${{ matrix.version }}-1.el${{ matrix.version }}_0.noarch.rpm + sed -i '/^#baseurl/{s/^#//; s@Everything/$basearch/@Everything/$basearch/os/}' /etc/yum.repos.d/epel.repo + sed -i '/^metalink/ s/^/#/' /etc/yum.repos.d/epel.repo dnf install -y mock wget git-core openssl-devel cargo podman fuse-overlayfs rpm-build mock dnf builddep -y anda/{terra/{mock-configs,srpm-macros},tools/buildsys/subatomic}/*.spec