[opensuse-buildservice] [Patch/RFC] osc: only use needed packages for createrepos
Hi! While doing some kiwi builds with "osc build foo.kiwi", I noticed that it took ages to setup the chroot and also to run createrepo. This is because _all_ repositories in the cache get copied and indexed. This can be more than annoying (read: pita) if you've a big cache. The attached patch is a first shot to use only the needed packages (or repos). Comments ? Best, Jan-Simon
Am Mittwoch, 3. Juni 2009 01:11:27 schrieb Jan-Simon Möller:
Hi!
While doing some kiwi builds with "osc build foo.kiwi", I noticed that it took ages to setup the chroot and also to run createrepo. This is because _all_ repositories in the cache get copied and indexed. This can be more than annoying (read: pita) if you've a big cache.
It is actually even a bug, because packages might come in which must not be used at all.
The attached patch is a first shot to use only the needed packages (or repos).
Comments ?
I saw no problems, please commit :) thanks a lot adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Jan-Simon Möller