On Fri 19 Feb 2010 22:26 +0100, Mark Pustjens wrote: > The attached patch fixes a TODO in lib-pacman of aif. > Instead of hardcoding that `core' is always available locally and > falling back to net for others, it now checks /src/ for repos. > > It assumes repos are stored at /src/$repo/pkg/. All these repos are > added as cache dirs. > > While preparing pacman, a number of repo names are provided to be > prepared. > > All those repos which were requested are added as actual repo. If > this repo is available locally, the url points to disk. Otherwise it > falls back to the mirrorlist. > > Please let me know what you think. Nice. You probably should send that to the arch-releng mailing list.