From bce3b5ad60341ab78d90402fda68eabba351fd0e Mon Sep 17 00:00:00 2001 From: "Stefan K. Berg" Date: Sun, 7 Feb 2016 00:09:55 +0100 Subject: [PATCH] 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 --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.16.6