rawhide report: 20080829 changes

Jindrich Novy jnovy at redhat.com
Sun Aug 31 19:17:30 UTC 2008


On Fri, Aug 29, 2008 at 02:17:56PM -0700, Jesse Keating wrote:
> On Fri, 2008-08-29 at 19:57 +0000, Rawhide Report wrote:
> > - add support for noarch subpackages
> 
> Erm, what exactly does this mean?

It means that subpackage(s) could have BuildArch: noarch even if the
main package is non-noarch.

> In the realm of Koji, for non-noarch
> packages we send off the srpm to be built once on each arch, and collect
> the output.  Right now, all that output is unique per arch.  What's
> going to happen when each arch build produces the same noarch
> subpackage?

Good point. I haven't thought about it from the koji perspective yet. 
Could anyone koji related please shed a little bit of light on it?
 
> Kernel works around this by having an additional build put through of
> arch "noarch", which is a setting at the koji level.  We only ever get
> one set of noarch build output.

Would it be possible to teach koji the noarch subpackage paradigm so
that only one build is made? Maybe koji could then collect all the
binary rpms including noarchs and then compare contents of noarchs for all
arches. If the contents are same the build would pass otherwise fail.

Then it would be safe to have multiple binary rpm sets and only one
noarch set grabbed randomly from any arch without any naming conflict.
This could also cover the kernel build, I don't know any details about it though.

Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>   http://people.redhat.com/jnovy/




More information about the fedora-devel-list mailing list