Open main menu

CDOT Wiki β

Changes

Create Koji Builder - Create repo
== Create Koji Builder - Create repo ==
* install 'Download the ARM patched koji-builder' rpm packagesoftware from [http://scotland.proximity.on.ca/paulwhalen/ Koji Software] yum install localinstall koji-1.6.0-2.fc15.arm.noarch.rpm koji-builder-1.6.0-2.fc15.arm.noarch.rpm
* on hongkong create a certificate to be used with the new host. Certificates are created from the directory '/etc/pki/koji' by running the 'certscript'. A link to the [http://scotland/paulwhalen/certscript certscript]
./certscript <hostname>
* copy the cert (hostname.pem) and 'koji_ca_local+fedora.crt' to the new host machines '/etc/kojid/' folder.
* In order for createrepo tasks to work successfully you will need to downgrade the createrepo package and yum packages that is are included in F16. Download [http://kojipkgsscotland.fedoraprojectproximity.orgon.ca/packagespaulwhalen/createrepo/-0.9.8/-5.fc14/.noarch/.rpm createrepo-0.9.8-5.fc14.noarch.rpm createrepo] and [http://scotland.proximity.on.ca/paulwhalen/yum-3.2.29-10.fc15.noarch.rpm yum-03.92.829-510.fc14fc15.noarch.rpm ]
rpm -Uvh --oldpackage createrepo-0.9.8-5.fc14.noarch.rpm
rpm -Uvh --oldpackage yum-3.2.29-10.fc15.noarch.rpm
* edit '/etc/kojid/kojid.conf'. Example of a kojid.config can be found here [http://scotland/paulwhalen/kojid.conf kojid.conf]
1
edit