On Fri, 2009-02-13 at 16:14 +0100, karsten(a)redhat.com wrote:
Hello,
Do we have a writeup on how to bootstrap a new secondary architecture in koji ?
Prebuilt binary rpms of F-10 are available and being imported into the koji hub.
But how to proceed from there to get to F-11 ?
A build loop over all source packages doesn't look like the optimal approach to me.
Do we have scripts to identify leaves in the build dependency tree so that those
can be built first before moving on the the next level ?
And how about the package versions? I'd expect some iterations until I get a
complete set of F-11 packages and still need to keep the n-v-r t the same level
than on the primary archs. Scratch builds won't get added to the build environment
and won't help here, right ?
Karsten
You might take a look at "smock" (google it to find out more). It is a
wrapper around mock that tries to build in the right order based on the
packages each SRPM lists as required for building. Specifically you
will probably want to look at the --chain option. You should be able to
use that output to help koji build in the correct order.
- Doug