Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6192d48
)
build: Allow MIRROR_MOS_UBUNTU override
31/19931/1
author
Alexandru Avadanii
<Alexandru.Avadanii@enea.com>
Tue, 16 Aug 2016 16:45:10 +0000
(18:45 +0200)
committer
Alexandru Avadanii
<Alexandru.Avadanii@enea.com>
Tue, 30 Aug 2016 18:01:17 +0000
(18:01 +0000)
Change-Id: Idc647f941fc3923f5ed1f2888318b218c23f4362
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit
dc647f941fc3923f5ed1f2888318b218c23f4362
)
build/Makefile
patch
|
blob
|
history
diff --git
a/build/Makefile
b/build/Makefile
index
c4775a3
..
b3905e3
100644
(file)
--- 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)