Difference between revisions of "FedoraARM Secondary Architecture/Repo Bootstrap"
Chris Tyler (talk | contribs) (Created page with '= Goal = To load the initial packages to be used to building into the koji repo. = Steps Performed = Create tags [kojiadmin@hongkong ~]$ koji add-tag dist-f13test [kojiadmi...') |
Chris Tyler (talk | contribs) (→Goal) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Fedora ARM Secondary Architecture]][[Category:Winter 2010 SBR600]] | ||
= Goal = | = Goal = | ||
− | To load the | + | To load a Koji repo with the packages used for building (to create buildroots and to satisfy BuildRequires). |
= Steps Performed = | = Steps Performed = | ||
+ | |||
+ | As the user '''kojiadmin''': | ||
Create tags | Create tags | ||
− | + | koji add-tag dist-f13test | |
− | + | koji add-tag --parent dist-f13test --arches armv5tel distest-build | |
− | |||
− | |||
− | |||
Add external repo | Add external repo | ||
− | + | koji add-external-repo -t dist-f13test-build dist-f13test-external-repo http://hongkong/yum/base/12/arm/ | |
− | |||
− | |||
Add a target | Add a target | ||
− | + | koji add-target dist-f13test dist-f13test-build | |
Create the "build" and "srpm-build" package groups. | 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 primary archs. | + | 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++ \ | bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ \ | ||
grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils \ | grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils \ | ||
Line 36: | Line 34: | ||
redhat-rpm-config rpm-build shadow-utils | 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++ \ | bzip2 coreutils cpio diffutils fedora-release findutils gawk gcc gcc-c++ \ | ||
grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils \ | 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 \ | tar unzip util-linux-ng which bash curl cvs fedora-release gnupg make \ | ||
redhat-rpm-config rpm-build shadow-utils | redhat-rpm-config rpm-build shadow-utils |
Latest revision as of 15:11, 17 April 2010
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