summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-08-31 11:57:48 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-31 11:57:48 +0000
commit1fc220613a677ea5c4f003bc5596a203a8d02391 (patch)
tree7ce4b31acda1fc5d2b489d68cc1418aa3e5a4670 /build
parenta5796fbbca6e446aa9b40b15990542c2f2e9116f (diff)
parentdfbf9483d8782fd82019959892c7d10b9ce5f5f0 (diff)
Merge "build: Allow MIRROR_MOS_UBUNTU override" into stable/colorado
Diffstat (limited to 'build')
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index c4775a3da..b3905e364 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -57,7 +57,7 @@ export MIRROR_UBUNTU_ROOT := $(shell echo -n '/' ; echo "$(MIRROR_UBUNTU_URL)" |
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 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/$(MOSVERSION).target.txt" | head -1)
export MIRROR_MOS_UBUNTU_ROOT := /mos-repos/ubuntu/$(LATEST_TARGET_UBUNTU)