Make sure to use only up-to-date mirrors 29/21429/2
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Mon, 19 Sep 2016 12:14:23 +0000 (14:14 +0200)
committerStefan K. Berg <stefan.k.berg@ericsson.com>
Mon, 19 Sep 2016 13:59:42 +0000 (15:59 +0200)
commite12aec84ef1767d4ba9469dfb12d65d928bf0ed4
tree72991dfc39fa814acecb4eed88ff0b24b31926c9
parent65b7cfcd862a75be72fb98777190c49f8b6ea0d3
Make sure to use only up-to-date mirrors

Whitewash the geographically "close" mirrors against the list of
fully synced mirrors - we've had a few instances of getting bad
mirrors which would break the script.

All credit goes to:

https://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line

... and we should perhaps use the netselect tool as well somewhere down
the line, but this fixes the most urgent problem.

Change-Id: Ia61a2bd78657b28019f57fc1962d410e754e6d2a
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
build/f_isoroot/f_repobuild/select_ubuntu_repo.sh