On Mon, Mar 8, 2010 at 1:22 PM, Luke Imhoff
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org