From 4d30c7add349488cb98e53371513abcba5fc2446 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 8 Nov 2021 14:06:00 -0800 Subject: [PATCH] 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 --- roles/batcave/files/centos-9s-sync | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/batcave/files/centos-9s-sync b/roles/batcave/files/centos-9s-sync index c108ab4929..aa2cf761d7 100644 --- a/roles/batcave/files/centos-9s-sync +++ b/roles/batcave/files/centos-9s-sync @@ -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