X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2FMakefile;h=a76c44ee2e794f991313f17b975a34bb42ce7be8;hb=4cd78eff65a58a699906347e59886e6380b855ef;hp=bc6a9418cb8a4ef9807095b2853b5e4efa6d6400;hpb=a3e54e8c26dc2f52256fd47fbe3641588cc47f10;p=fuel.git diff --git a/build/Makefile b/build/Makefile index bc6a9418c..a76c44ee2 100644 --- a/build/Makefile +++ b/build/Makefile @@ -85,7 +85,7 @@ all: KERNEL_VER="$${KERNEL_VER%.*-*}"; \ KERNEL_VER="$${KERNEL_VER//.}"; \ [ $$KERNEL_VER -ge 319 ] || (echo 'Kernel version must be 3.19 or newer'; exit 1) - @docker/runcontext $(DOCKERIMG) ping -c 1 www.google.com > /dev/null 2>&1 || (echo 'No docker network connectivity or name server - check your network- and docker settings'; exit 1) + @docker/runcontext $(DOCKERIMG) wget -q www.google.com > /dev/null 2>&1 || (echo 'No docker network connectivity or name server - check your network- and docker settings'; exit 1) @docker/runcontext $(DOCKERIMG) $(MAKE) $(MAKEFLAGS) iso @@ -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)