Fix network connection check issue 81/11281/2
authorRuijing Guo <ruijing.guo@intel.com>
Mon, 22 Feb 2016 06:24:51 +0000 (06:24 +0000)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Sun, 10 Apr 2016 16:56:28 +0000 (18:56 +0200)
Change-Id: Id42af08e9fe76db7f9d7dbae3b8b5bf60b079b14
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
build/Makefile

index 01f6e41..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