From 304aecec3bd9dbb364352d242045a9ed8d977f55 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Fri, 5 Jun 2026 11:02:14 +0900 Subject: [PATCH] ci: ensure ready to use config-manager Follow-up #1062 There was a case that config-manager is not instaled. https://github.com/fluent/fluent-package-builder/actions/runs/26989986882/job/79648097423 Signed-off-by: Kentaro Hayashi --- fluent-package/yum/systemd-test/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fluent-package/yum/systemd-test/common.sh b/fluent-package/yum/systemd-test/common.sh index cd2c3a0c..e93dc89d 100755 --- a/fluent-package/yum/systemd-test/common.sh +++ b/fluent-package/yum/systemd-test/common.sh @@ -179,6 +179,9 @@ function fixup_broken_mirrors() ;; 9|10*) FALLBACK_URL=https://ftp.iij.ad.jp/pub/linux/almalinux + sudo $DNF install -y dnf-plugins-core --setopt=baseos.mirrorlist= \ + --setopt=baseos.baseurl=${FALLBACK_URL}/\$releasever/BaseOS/\$basearch/os/ + sudo $DNF config-manager --setopt=baseos.mirrorlist= \ --setopt=baseos.baseurl=${FALLBACK_URL}/\$releasever/BaseOS/\$basearch/os/ --save sudo $DNF config-manager --setopt=appstream.mirrorlist= \