Changes

Jump to: navigation, search

Winter 2011 SBR600 Weekly Schedule

1,242 bytes removed, 01:17, 19 January 2011
koji: Testing multiple architectures
<code>koji</code> is a client-server system which allows you to queue builds within the Fedora build farm. This permits you to test whether your package builds on several different architectures, which is especially useful when you don't otherwise have access to the machines of that architecture.
 
{{Admon/note|Koji Setup|Note that koji requires some setup, particularly for certificate-based authentication. See the [[:fedora:PackageMaintainers/UsingKoji|UsingKoji]] page on the Fedora wiki for setup instructions.}}
 
To queue a build for all Fedora-supported primary architectures (currently i386 and x86_64):
 
koji build ''dist-f18'' --scratch ''foo*.src.rpm''
 
In this example, ''dist-f18'' selects the build target corresponding to the distribution for Fedora 18 (similar to the <code>-r</code> option for mock, except that the build arch is not specified); <code>--scratch</code> specifies that this is a scratch build (the results are not kept or fed to Bodhi).
 
To perform a build that will be passed to Bodhi for distribution, substitute <code>--rebuild</code> for <code>--scratch</code> (do not do this until you have passed the package review and sponsor procedures).
 
{{Admon/tip|ARM Build|You can queue an ARM build by substituting the ''arm-koji'' command for the ''koji'' command. Alternately, you can specify the server "arm.koji.fedoraproject.org" on the Koji command line (or in <code>/etc/koji.conf</code>) .
You can queue builds for ppc, ppc64, sparc, sparc64, ia64, parisc, mips, and s390 systems in a similar way.}}
== Resources ==

Navigation menu