From b43e6d3b100d0fc86679ad19ed6f1db78f5956ea Mon Sep 17 00:00:00 2001 From: Ruijing Guo Date: Mon, 22 Feb 2016 06:24:51 +0000 Subject: Fix network connection check issue Change-Id: Id42af08e9fe76db7f9d7dbae3b8b5bf60b079b14 Signed-off-by: Ruijing Guo --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/Makefile') diff --git a/build/Makefile b/build/Makefile index 01f6e414a..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 -- cgit 1.2.3-korg