From e9734b9cdf9c0bc7d2dad42d3293b585c0b48591 Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 15 May 2025 01:20:29 -0500 Subject: [PATCH] batcave: override basearch in rhel10.0 sync In order to correctly sync each architecture's repos, we have to override the basearch while running reposync. Otherwise we are just syncing the the host architecture (x86_64) multiple times under misleading directory names. Signed-off-by: Carl George --- roles/batcave/files/rhel10-sync | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/batcave/files/rhel10-sync b/roles/batcave/files/rhel10-sync index 4ed74ad839..7a4277a3be 100644 --- a/roles/batcave/files/rhel10-sync +++ b/roles/batcave/files/rhel10-sync @@ -11,6 +11,7 @@ for releasever in ${RELEASEVERS[@]}; do dnf \ --config /srv/web/repo/rhel/rhel10/dnf.conf \ --releasever $releasever \ + --forcearch $arch \ --repo $repo \ reposync \ --download-metadata \ -- 2.49.0