fix for loops

This commit is contained in:
Trevor Batley 2023-11-04 10:00:55 +11:00
parent cc3f7cdfc1
commit ebc2ed548b

View File

@ -93,7 +93,7 @@ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-contribs
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build groups http://buildsys.koozali.org/build/10/smeserver-groups/\$arch/ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build groups http://buildsys.koozali.org/build/10/smeserver-groups/\$arch/
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build
# setup the rest of the sme10 repos # setup the rest of the sme10 repos
for REPO in (contribs addons updates updates-testing testing) ; do for REPO in contribs addons updates updates-testing testing ; do
TAG="sme$RELEASE-$REPO" TAG="sme$RELEASE-$REPO"
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG"
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build
@ -103,7 +103,7 @@ PKGMANAGER="dnf"
BOOTSTRAPIMAGE="rocky:8" BOOTSTRAPIMAGE="rocky:8"
EL="8" EL="8"
CHROOTSETUPCMD=' install @buildsys-build @buildsys scl-utils-build python27-build ' CHROOTSETUPCMD=' install @buildsys-build @buildsys scl-utils-build python27-build '
for RELEASE in (11 12) ; do for RELEASE in 11 12 ; do
# Setup the os repo - parent of others who will inherit most properties # Setup the os repo - parent of others who will inherit most properties
TAG="sme$RELEASE-os" TAG="sme$RELEASE-os"
sudo -u kojiadmin koji add-tag dist-"$TAG" sudo -u kojiadmin koji add-tag dist-"$TAG"
@ -128,7 +128,7 @@ for RELEASE in (11 12) ; do
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build rpmfusion http://download1.rpmfusion.org/free/el/updates/$EL/x86_64 sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build rpmfusion http://download1.rpmfusion.org/free/el/updates/$EL/x86_64
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build
# setup the rest of the repos # setup the rest of the repos
for REPO in (contribs addons updates updates-testing testing) ; do for REPO in contribs addons updates updates-testing testing ; do
TAG="sme$RELEASE-$REPO" TAG="sme$RELEASE-$REPO"
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG"
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build