Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
Re: [opensuse-buildservice] osc build and local (partial) mirror
  • From: Jon Nelson <jnelson-suse@xxxxxxxxxxx>
  • Date: Mon, 8 Mar 2010 13:44:03 -0600
  • Message-id: <cccedfc61003081144u51532805we1d07563ba2f0929@xxxxxxxxxxxxxx>
On Mon, Mar 8, 2010 at 1:22 PM, Luke Imhoff <luke@xxxxxxxx> wrote:
The -p/--prefer-pkgs is a much stronger statement than just: get the
packages from this location.  It says uses this file to fulfill any
requires for capabilities this file provides.  (Scanning the files for
Provides and Requires is why it takes so long.)  If you just what the
NFS space to act as a cache, then just symlink the specific file into
your package-cache location that's defined in ~/.oscrc.

If you want to speed up the scanning of NFS, there's a patch I made that
understands the XML files created by createrepo that you could use to
scan the NFS space with createrepo (on the NFS server) and then my patch
will find the repodata directory and consume the data from the XML
instead of scanning each rpm file.  I know Adrian accepted the patch,
but I don't know if the osc you are using has the change in it.

Well, ideally, I wouldn't be using NFS at all but rather say, "Hey, if
you need to download a file, try these http servers first...".
What I might do is just use the symlinks thing.


--
Jon
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References