Merge "submodule: Kill yardstick"
[armband.git] / patches / opnfv-fuel / 0042-build-Allow-MIRROR_MOS_UBUNTU-override.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Tue, 16 Aug 2016 18:45:10 +0200
3 Subject: [PATCH] build: Allow MIRROR_MOS_UBUNTU override
4
5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 ---
7  build/Makefile | 2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/build/Makefile b/build/Makefile
11 index 4a4bb2e..6e18ddd 100644
12 --- a/build/Makefile
13 +++ b/build/Makefile
14 @@ -60,7 +60,7 @@ export MIRROR_UBUNTU_ROOT := $(shell echo -n '/' ; echo "$(MIRROR_UBUNTU_URL)" |
15  
16  export LATEST_MIRROR_ID_URL := http://$(shell ./select_closest_fuel_mirror.py)
17  
18 -export MIRROR_MOS_UBUNTU := $(shell echo "$(LATEST_MIRROR_ID_URL)" | cut -d'/' -f3)
19 +export MIRROR_MOS_UBUNTU ?= $(shell echo "$(LATEST_MIRROR_ID_URL)" | cut -d'/' -f3)
20  export LATEST_TARGET_UBUNTU := $(shell curl -sSf "$(MIRROR_MOS_UBUNTU)/mos-repos/ubuntu/$(MOSVERSION).target.txt" | head -1)
21  export MIRROR_MOS_UBUNTU_ROOT := /mos-repos/ubuntu/$(LATEST_TARGET_UBUNTU)
22