aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2016-02-07 00:09:55 +0100
committerStefan K. Berg <stefan.k.berg@ericsson.com>2016-02-07 00:09:55 +0100
commitbb958fd3822dbc9b166ab73fa15daf4433fc3505 (patch)
treeed8cc3c78630eec64acdfde99c0c8c85ef151e4f
parent27362a1861d02b0bb0ca327c333e5e58a060ad1d (diff)
We need to preserve environment for sudo build
In order to preserve environment variables (esp commit ids) for the Fuel build, the environment needs to be kept when the build loop is run. Change-Id: Ia044ea92853147280db0686ac857beda52ab50dc Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index bc6a9418c..01f6e414a 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -123,7 +123,7 @@ $(ISOCACHE):
cd /tmp/fuel-main && make repos
$(REPOINFO) -r /tmp/fuel-main > gitinfo_fuel.txt
# Repeat build up to ten times
- sudo ./fuel_build_loop
+ sudo -E ./fuel_build_loop
cp /tmp/fuel-main/build/artifacts/fuel*.iso .
# Store artifact in cache straight away if caching is enabled
# (no .cacheid will be present unless this is a cached build)