diff options
author | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2016-02-07 00:09:55 +0100 |
---|---|---|
committer | Stefan Berg <stefan.k.berg@ericsson.com> | 2016-02-07 10:39:03 +0000 |
commit | bce3b5ad60341ab78d90402fda68eabba351fd0e (patch) | |
tree | 9254cc9f3d5b240bfd08d580e437b6f714f79b24 /build | |
parent | 96e6e02e616e020d11bcb42d558b1eba22707491 (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>
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile | 2 |
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) |