batcave: centos-9s-sync cleanups

The script was erroring because a stray uncommented url, but while I was
fixing that I cleaned up some more things. Unfortunatey, it's still
spewing module related junk, and I didn't see a way to prevent that. :(

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-11-08 14:06:00 -08:00
parent fbe1346280
commit 4d30c7add3

View file

@ -3,8 +3,6 @@
SERVER=kojihub.stream.centos.org
STREAM_TOPDIR=kojifiles/repos/c9s-build/latest/
https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/
## mirror CentOS-9 Stream
DESTDIR=/mnt/fedora/app/fi-repo/centos/centos-9-stream
@ -15,5 +13,5 @@ for i in `echo aarch64 i386 ppc64le s390x x86_64`
do
mkdir -p ${DESTDIR}/${i}
cd ${DESTDIR}
reposync --download-metadata --repofrompath=$i,https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/$i --disablerepo=\* --enablerepo=$i
reposync --download-metadata --disablerepo=* --repofrompath=$i,https://$SERVER/$STREAM_TOPDIR/$i --enablerepo=$i
done