Make sure to use only up-to-date mirrors 71/21471/1
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Mon, 19 Sep 2016 12:14:23 +0000 (14:14 +0200)
committerStefan Berg <stefan.k.berg@ericsson.com>
Mon, 19 Sep 2016 15:35:44 +0000 (15:35 +0000)
commit3618bd69b8fc88b45330dff2a698e5303602622e
treeb168e378097a28b3bb7d793b9d236b6f48a8d5f6
parentf9326c161e2e8ed039499d30cced7c2553874e26
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>
(cherry picked from commit e12aec84ef1767d4ba9469dfb12d65d928bf0ed4)
build/f_isoroot/f_repobuild/select_ubuntu_repo.sh