From 892f8f3b8a2318d52bf703957483398c7d64d8d9 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 6 Nov 2023 14:00:15 +1100 Subject: [PATCH] contribs for sme11 & sme12 --- koji-setup/koji-bootstrap-build.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/koji-setup/koji-bootstrap-build.sh b/koji-setup/koji-bootstrap-build.sh index 6d74f4a..f0756b0 100755 --- a/koji-setup/koji-bootstrap-build.sh +++ b/koji-setup/koji-bootstrap-build.sh @@ -140,12 +140,22 @@ for RELEASE in 11 12 ; do sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build openfusion http://repo.openfusion.net/centos$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 --nowait +# Only build for smeos and smecontribs - others are staging + TAG="sme$RELEASE-contribs" + sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" + sudo -u kojiadmin koji add-tag --parent dist-$TAG --arches="$RPM_ARCH" dist-$TAG-build + sudo -u kojiadmin koji add-target dist-"$TAG" dist-"$TAG"-build + sudo -u kojiadmin koji add-tag-inheritance dist-$TAG-build dist-sme$RELEASE-os --priority 10 + sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.bootstrap_image="$BOOTSTRAPIMAGE" + sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" + sudo -u kojiadmin koji add-group dist-"$TAG"-build build + sudo -u kojiadmin koji add-group dist-"$TAG"-build srpm-build + sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build build install @buildsys-build @buildsys scl-utils-build python27-build rpm-build + sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build rpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm sed shadow tar unzip wget xz + sudo -u kojiadmin koji regen-repo dist-$TAG-build --nowait # setup the rest of the repos - for REPO in contribs addons updates updates-testing testing ; do + for REPO in addons updates updates-testing testing ; do TAG="sme$RELEASE-$REPO" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" done - # Only build for smeos and smecontribs - others are staging - sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-contribs dist-sme$RELEASE-contribs-build - sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build --nowait done