From 13f2ad0d07ddfc9f2da7b810b5352f32018ade95 Mon Sep 17 00:00:00 2001 From: James Reilly Date: Sat, 28 Dec 2024 20:06:21 +0530 Subject: [PATCH 1/2] Hardcode Mirror to working URL Fixes #772 --- Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Containerfile b/Containerfile index 8e0d35c8..bc8eebe5 100644 --- a/Containerfile +++ b/Containerfile @@ -17,6 +17,10 @@ COPY ./package-requires.txt . RUN grep -vE '^#' package-requires.txt | xargs dnf install -y && rm -f package-requires.txt && dnf clean all COPY --from=builder /build/bin/* /usr/bin/ COPY bib/data /usr/share/bootc-image-builder +RUN FILES=(/etc/yum.repos.d/fedora*.repo); sed --in-place \ + -e 's ^metalink= #metalink= ' \ + -e "s ^#baseurl=https://mirror.facebook.net/ baseurl=https://dl.fedoraproject.org/ " \ + "${FILES[@]}"; ENTRYPOINT ["/usr/bin/bootc-image-builder"] VOLUME /output From 8f91f2900d15b97115050551902da6bcbe502f8a Mon Sep 17 00:00:00 2001 From: James Reilly Date: Sat, 28 Dec 2024 20:47:10 +0530 Subject: [PATCH 2/2] add shim to anaconda packages...here's hoping --- bib/data/defs/centos-10.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/bib/data/defs/centos-10.yaml b/bib/data/defs/centos-10.yaml index 370b1da7..5b72ddbe 100644 --- a/bib/data/defs/centos-10.yaml +++ b/bib/data/defs/centos-10.yaml @@ -73,6 +73,7 @@ anaconda-iso: - rsyslog - selinux-policy-targeted - sg3_utils + - shim - sil-padauk-fonts - smartmontools - spice-vdagent