Difference between revisions of "FedoraARM Secondary Architecture/Repo Bootstrap"

From CDOT Wiki
Jump to: navigation, search
(Goal)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Fedora ARM Secondary Architecture]]= Goal =
+
[[Category:Fedora ARM Secondary Architecture]][[Category:Winter 2010 SBR600]]
 +
= Goal =
  
To load the initial packages to be used to building into the koji repo.
+
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
  
[kojiadmin@hongkong ~]$ koji add-tag dist-f13test
+
  koji add-tag dist-f13test
  [kojiadmin@hongkong ~]$ koji add-tag --parent dist-f13test --arches arm distest-build
+
  koji add-tag --parent dist-f13test --arches armv5tel distest-build
[kojiadmin@hongkong ~]$ koji list-tags
 
dist-f13test
 
dist-f13test-build
 
  
 
Add external repo
 
Add external repo
  
  [kojiadmin@hongkong ~]$ koji add-external-repo -t dist-f13test-build dist-f13test-external-repo http://hongkong/yum/base/12/arm/
+
  koji add-external-repo -t dist-f13test-build dist-f13test-external-repo http://hongkong/yum/base/12/arm/
Created external repo 1
 
Added external repo dist-f13test-external-repo to to tag ['dist-f13test-build'] (priority 5)
 
  
 
Add a target
 
Add a target
  
  [kojiadmin@hongkong ~]$ koji add-target dist-f13test dist-f13test-build
+
  koji add-target dist-f13test dist-f13test-build
  
 
Create the "build" and "srpm-build" package groups.
 
Create the "build" and "srpm-build" package groups.
  
  [kojiadmin@hongkong ~]$ koji add-group dist-f13test-build build
+
  koji add-group dist-f13test-build build
  [kojiadmin@hongkong ~]$ koji add-group dist-f13test-build srpm-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.
  
  [kojiadmin@hongkong ~]$ koji add-group-pkg dist-f13test-build build bash \
+
  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
 
   
 
   
  [kojiadmin@hongkong ~]$ koji add-group-pkg dist-f13test-build srpm-build bash \
+
  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