FedoraARM Secondary Architecture/Repo Bootstrap
From CDOT Wiki
Goal
To load a Koji repo with the packages used for building (to create buildroots and to satisfy BuildRequires).
Steps Performed
As the user kojiadmin:
Create tags
koji add-tag dist-f13test koji add-tag --parent dist-f13test --arches armv5tel distest-build
Add external repo
koji add-external-repo -t dist-f13test-build dist-f13test-external-repo http://hongkong/yum/base/12/arm/
Add a target
koji add-target dist-f13test dist-f13test-build
Create the "build" and "srpm-build" package groups.
koji add-group dist-f13test-build build koji add-group dist-f13test-build srpm-build
Populate those package groups with packages. Note: I used the same packages for both, we should check whether srpm-build matches the package list used on the primary archs.
koji add-group-pkg dist-f13test-build build bash \ bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ \ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils \ tar unzip util-linux-ng which bash curl cvs fedora-release gnupg make \ redhat-rpm-config rpm-build shadow-utils koji add-group-pkg dist-f13test-build srpm-build bash \ bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ \ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils \ tar unzip util-linux-ng which bash curl cvs fedora-release gnupg make \ redhat-rpm-config rpm-build shadow-utils