add in remi and smeos repos

This commit is contained in:
Trevor Batley 2024-03-23 21:03:10 +11:00
parent 5425cfc944
commit b2bb15e59a

View File

@ -132,6 +132,7 @@ EL="8"
DIST=".el$EL.sme" DIST=".el$EL.sme"
PKGMANAGER="dnf" PKGMANAGER="dnf"
BOOTSTRAPIMAGE="rockylinux:$EL" BOOTSTRAPIMAGE="rockylinux:$EL"
sudo -u kojiadmin koji add-external-repo smeos$EL http://koji.koozali.org/kojifiles/repos-dist/$TAG/latest/\$arch/
sudo -u kojiadmin koji add-external-repo os$EL https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/\$arch/os/ sudo -u kojiadmin koji add-external-repo os$EL https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/\$arch/os/
# mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=\$arch&repo=BaseOS-$EL # mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=\$arch&repo=BaseOS-$EL
sudo -u kojiadmin koji add-external-repo appstream$EL https://dl.rockylinux.org/pub/rocky/$EL/AppStream/\$arch/os/ sudo -u kojiadmin koji add-external-repo appstream$EL https://dl.rockylinux.org/pub/rocky/$EL/AppStream/\$arch/os/
@ -142,6 +143,9 @@ sudo -u kojiadmin koji add-external-repo epel$EL https://muug.ca/mirror/fedora-e
# mirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$EL&arch=\$arch # mirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$EL&arch=\$arch
sudo -u kojiadmin koji add-external-repo openfusion$EL http://repo.openfusion.net/centos$EL-\$arch/ sudo -u kojiadmin koji add-external-repo openfusion$EL http://repo.openfusion.net/centos$EL-\$arch/
sudo -u kojiadmin koji add-external-repo rpmfusion$EL http://download1.rpmfusion.org/free/el/updates/$EL/\$arch/ sudo -u kojiadmin koji add-external-repo rpmfusion$EL http://download1.rpmfusion.org/free/el/updates/$EL/\$arch/
sudo -u kojiadmin koji add-external-repo remi$EL http://rpms.remirepo.net/enterprise/$EL/remi/\$arch/
sudo -u kojiadmin koji add-external-repo remi-modular$EL http://rpms.remirepo.net/enterprise/$EL/modular/\$arch/
sudo -u kojiadmin koji add-external-repo remi-safe$EL http://rpms.remirepo.net/enterprise/$EL/safe/\$arch/
# Setup the os repo - parent of others who will inherit most properties # Setup the os repo - parent of others who will inherit most properties
sudo -u kojiadmin koji add-tag --arches="$RPM_ARCH" dist-"$TAG" sudo -u kojiadmin koji add-tag --arches="$RPM_ARCH" dist-"$TAG"
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.package_manager="$PKGMANAGER" sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.package_manager="$PKGMANAGER"
@ -157,11 +161,14 @@ sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" dist-"$TAG"
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build 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 sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build 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
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio elfutils file grep gzip make pigz rpm rpm-build sed tar unzip wget xz sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio elfutils file grep gzip make pigz rpm rpm-build sed tar unzip wget xz
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare os$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare os$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi-safe$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi-modular$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare appstream$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare appstream$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare powertools$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare powertools$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare epel$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare epel$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare openfusion$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare openfusion$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare rpmfusion$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare rpmfusion$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi$EL
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build --nowait sudo -u kojiadmin koji regen-repo dist-"$TAG"-build --nowait
# Only need build for smeos and smecontribs - others are staging # Only need build for smeos and smecontribs - others are staging
TAG="sme$RELEASE-contribs" TAG="sme$RELEASE-contribs"
@ -174,12 +181,16 @@ 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 dist-"$TAG"-build srpm-build
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build 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 sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build 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
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build rpm-build coreutils cpio elfutils file grep gzip make perl pigz rpm sed tar unzip wget xz sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build rpm-build coreutils cpio elfutils file grep gzip make perl pigz rpm sed tar unzip wget xz
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare smeos$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare os$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare os$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi-safe$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi-modular$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare appstream$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare appstream$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare powertools$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare powertools$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare epel$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare epel$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare openfusion$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare openfusion$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare rpmfusion$EL sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare rpmfusion$EL
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build -m bare remi$EL
sudo -u kojiadmin koji regen-repo dist-$TAG-build --nowait sudo -u kojiadmin koji regen-repo dist-$TAG-build --nowait
# setup the rest of the repos # setup the rest of the repos
for REPO in addons updates updates-testing testing ; do for REPO in addons updates updates-testing testing ; do