summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_repobuild
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-02-24 20:02:25 +0100
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-06-15 10:55:52 +0000
commit16df5c6d9b6973cff2ab3949add2a90adc65f25a (patch)
tree057d35a891fd5e2f8452c7e93de990dc83f43746 /build/f_isoroot/f_repobuild
parent301ce6a92c82f65df08d75995d35316005e38ff9 (diff)
repobuild: Allow customizing fuel-mirror repo URL
For Armband, fuel-mirror code needs to be patched outside of the build system, so we factor out the repo URL into an overrideable variable (FUEL_MIRROR_URL). Change-Id: Icf26f1b84f5a653f541819a42980377f51c7f299 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Stanislaw Kardach <Stanislaw.Kardach@cavium.com>
Diffstat (limited to 'build/f_isoroot/f_repobuild')
-rw-r--r--build/f_isoroot/f_repobuild/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
index 52772180e..4bb04ca07 100644
--- a/build/f_isoroot/f_repobuild/Makefile
+++ b/build/f_isoroot/f_repobuild/Makefile
@@ -12,6 +12,7 @@ SHELL := /bin/bash
TOP := $(shell pwd)
TMP_ROOT_DIR := $(shell echo "$(MIRROR_UBUNTU_ROOT)" | cut -d "/" -f2)
# Enable use of exact repo commit if defined, else use Fuel main branch
+FUEL_MIRROR_REPO?=https://github.com/openstack/fuel-mirror
FUEL_MIRROR_COMMIT?=$(FUEL_MAIN_TAG)
include ../../config.mk
@@ -26,7 +27,7 @@ nailgun:
sudo apt-get install -y git libxml2-dev libxslt-dev python-dev python-pip libz-dev libyaml-dev createrepo python-yaml
rm -Rf nailgun
sudo mkdir -p /var/www/nailgun
- git clone https://github.com/openstack/fuel-mirror
+ git clone $(FUEL_MIRROR_REPO)
cd fuel-mirror && git checkout -q $(FUEL_MIRROR_COMMIT)
sudo pip install -U -r ./fuel-mirror/requirements.txt
sudo pip install ./fuel-mirror