Bitcoin Forum

Bitcoin => Wallet software => Topic started by: boris_johnny on March 27, 2014, 11:55:18 AM



Title: Configuring local mirror in gitian
Post by: boris_johnny on March 27, 2014, 11:55:18 AM
I have a very very slow internet connection but a very very fast local network which mirrors Ubuntu repositories. I'm trying to run gitian for building, but it takes forever for the make-base-vm command to run. As far as I understand, Ubuntu is being downloaded at this stage. If that is the case, is there a way I can use my local mirror instead of the regular Ubuntu server?

I have been trying to fiddle with the actual file and with setting MIRROR_HOST as an environment variable, but it does not work. The local mirror is something like: http://mirror.my-local-lan.com/ubuntu. This mirror is accessible from both source and guest of the VM.

FYI here is the code of make-base-vm:

https://github.com/devrandom/gitian-builder/blob/master/bin/make-base-vm