summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuijing Guo <ruijing.guo@intel.com>2016-02-22 06:24:51 +0000
committerStefan Berg <stefan.k.berg@ericsson.com>2016-02-22 13:50:33 +0000
commit4047ae2f2fe82e8da8d9263cd058b72a31bef77b (patch)
treeea0dbf7dbe65918042b2f05c64851cacf45b2b73
parent7a402764fdb92f8f09c67c2345355a52c1348572 (diff)
Fix network connection check issue
Change-Id: Id42af08e9fe76db7f9d7dbae3b8b5bf60b079b14 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
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