diff --git a/koji-setup/koji-bootstrap-build.sh b/koji-setup/koji-bootstrap-build.sh index f3b1d0d..30750be 100755 --- a/koji-setup/koji-bootstrap-build.sh +++ b/koji-setup/koji-bootstrap-build.sh @@ -176,7 +176,7 @@ sudo -u kojiadmin koji add-target $RELEASE-test "$BUILDTAG" "dist-$RELEASE-testi sudo -u kojiadmin koji add-target $RELEASE-contribs-test "$BUILDTAG" "dist-$RELEASE-contribs-testing" # Release sme12 is based on Rocky 9 (EL9) -RELEASE="12" +RELEASE="sme12" DISTRIBUTION="SME Server v$RELEASE" TAG="dist-$RELEASE-os" EL="9" @@ -197,14 +197,13 @@ sudo -u kojiadmin koji add-external-repo rpmfusion$EL http://download1.rpmfusion # Setup the os repo - parent of others who will inherit most properties sudo -u kojiadmin koji add-tag --arches="$RPM_ARCH" "$TAG" sudo -u kojiadmin koji edit-tag "$TAG" -x mock.package_manager="$PKGMANAGER" -sudo -u kojiadmin koji add-tag --parent "$TAG" --arches="$RPM_ARCH" "$TAG"-build sudo -u kojiadmin koji edit-tag -x mock.bootstrap_image="$BOOTSTRAPIMAGE" "$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" "$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" "$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PACKAGER" "$TAG" sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" "$TAG" # add build tag for all $RELEASE targets -BUILDTAG="$RELEASE-build" +BUILDTAG="dist-$RELEASE-build" sudo -u kojiadmin koji add-tag --parent dist-"$PARENT" --arches="$RPM_ARCH" "$BUILDTAG" sudo -u kojiadmin koji add-group "$BUILDTAG" build sudo -u kojiadmin koji add-group-pkg "$BUILDTAG" build epel-rpm-macros bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which yum-utils xz