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 <carlwgeorge@gmail.com>
This commit is contained in:
Carl George 2025-05-15 01:20:29 -05:00
parent 4d8ffba442
commit e9734b9cdf

View file

@ -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 \