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

From CDOT Wiki
Jump to: navigation, search
(Steps Performed)
Line 5: Line 5:
  
 
= 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 armv5tel 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.
Line 31: Line 28:
 
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 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 37: 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

Revision as of 16:06, 17 April 2010

Goal

To load the initial packages to be used to building into the koji repo.

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.

[kojiadmin@hongkong ~]$ koji add-group dist-f13test-build build
[kojiadmin@hongkong ~]$ 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.

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