summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2016-01-22 14:15:57 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-22 14:15:57 +0000
commitc49a6930f760fae1f2728de439c881a56b7d48ec (patch)
tree91f9f3cdc291401b17476b32724d5058d1837b7f /build/Makefile
parenta773b0c125e74c488454f7ae229c21196b07ac8c (diff)
parent49ccd1f337d09cc84b168afd970acaa2aaceff25 (diff)
Merge "Select closest Fuel mirror as measured by ping"
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index 678d9667a..74ed63495 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -49,7 +49,7 @@ export MIRROR_UBUNTU_URL := $(shell ./f_isoroot/f_repobuild/select_ubuntu_repo.s
export MIRROR_UBUNTU := $(shell echo "$(MIRROR_UBUNTU_URL)" | cut -d'/' -f3 )
export MIRROR_UBUNTU_ROOT := $(shell echo -n '/' ; echo "$(MIRROR_UBUNTU_URL)" | cut -d'/' -f4-)
-export LATEST_MIRROR_ID_URL := http://mirror.seed-us1.fuel-infra.org
+export LATEST_MIRROR_ID_URL := http://$(shell ./select_closest_fuel_mirror.py)
export MIRROR_MOS_UBUNTU := $(shell echo "$(LATEST_MIRROR_ID_URL)" | cut -d'/' -f3)
export LATEST_TARGET_UBUNTU := $(shell curl -sSf "$(MIRROR_MOS_UBUNTU)/mos-repos/ubuntu/8.0.target.txt" | head -1)