Merge "Enable BGPVPN_extension/SDNVPN_feature"
[fuel.git] / build / Makefile
index bc6a941..a76c44e 100644 (file)
@@ -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)