mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-25 02:57:28 +01:00
add rpm-build
This commit is contained in:
parent
c2880bc25e
commit
4e027857c1
@ -63,7 +63,7 @@ fi
|
|||||||
RELEASE=10
|
RELEASE=10
|
||||||
PKGMANAGER="yum"
|
PKGMANAGER="yum"
|
||||||
BOOTSTRAPIMAGE="centos:7"
|
BOOTSTRAPIMAGE="centos:7"
|
||||||
CHROOTSETUPCMD=' install @buildsys-build @buildsys scl-utils-build python27-build '
|
CHROOTSETUPCMD=' install @buildsys-build @buildsys scl-utils-build python27-build rpm-build '
|
||||||
TAG="sme$RELEASE-os"
|
TAG="sme$RELEASE-os"
|
||||||
sudo -u kojiadmin koji add-tag dist-"$TAG"
|
sudo -u kojiadmin koji add-tag 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
|
||||||
@ -73,7 +73,7 @@ sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.bootstrap_image="$BOOTSTRAPI
|
|||||||
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD"
|
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 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 install @buildsys-build @buildsys scl-utils-build python27-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 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 add-external-repo -t dist-"$TAG"-build os http://buildsys.koozali.org/build/7/os/\$arch/
|
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os http://buildsys.koozali.org/build/7/os/\$arch/
|
||||||
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build updates http://buildsys.koozali.org/build/7/updates/\$arch/
|
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build updates http://buildsys.koozali.org/build/7/updates/\$arch/
|
||||||
@ -104,7 +104,7 @@ sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build --nowait
|
|||||||
PKGMANAGER="dnf"
|
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 rpm-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"
|
||||||
@ -116,7 +116,7 @@ for RELEASE in 11 12 ; do
|
|||||||
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 edit-tag dist-"$TAG" -x mock.bootstrap_image="$BOOTSTRAPIMAGE"
|
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 edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD"
|
||||||
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build build install @buildsys-build @buildsys scl-utils-build python27-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 coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm rpm-build sed shadow tar unzip wget xz
|
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm rpm-build sed shadow tar unzip wget xz
|
||||||
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/x86_64/os/
|
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build os https://dl.rockylinux.org/pub/rocky/$EL/BaseOS/x86_64/os/
|
||||||
# mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=x86_64&repo=BaseOS-$EL
|
# mirrorList=http://mirrors.rockylinux.org/mirrorlist?release=$EL&arch=x86_64&repo=BaseOS-$EL
|
||||||
|
Loading…
Reference in New Issue
Block a user