On Sat, Sep 20, 2008 at 14:58:41 -0500,
Bruno Wolff III <bruno(a)wolff.to> wrote:
On Sat, Sep 20, 2008 at 21:21:48 +0200,
Michael Schwendt <mschwendt(a)gmail.com> wrote:
> On Sat, 20 Sep 2008 09:50:58 -0500, Bruno Wolff III wrote:
>
> You can take a look at the current tool that fills the biarch repos.
> It's "mash", written in Python, and in the Fedora repo. The basic
> pkg selection scheme is to add all -devel pkgs and their dependencies,
> plus packages from a whitelist and minus packages from a blacklist.
Thanks. Knowing the approach used is helpful. I still want to look at doing
it based on provides and see what that gives. Having access to a whitelist
and blacklist if I need to use them will be better than trying to maintain
my own.
Doing the selection based on provides ended up doubling the number of i386
packages over what normally is provided. Rawhide had 2903 i386 packages
and by checking missing provides I ended up using 5835 packages.
Doing a repoclosure looked pretty good. Most of the errors were real missing
stuff and x86_64 and i386 errors pretty much lined up. The one thing that
did seem to be missing is zlib-devel. libgcj-devel-4.3.2-4.i386 requires
/usr/lib/libz.so, but zlib-devel doesn't provide that explicitly. I am not
sure if that is a packaging error or if things are really supposed to go
looking for files in a package and not just at what is explicitly provided.
For now I'll just pull in the extra packages and see if I run accross any
problems. Minimizing the repo isn't a big concern for me.