summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRuijing Guo <ruijing.guo@intel.com>2016-02-22 06:24:51 +0000
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-04-10 18:56:28 +0200
commitb43e6d3b100d0fc86679ad19ed6f1db78f5956ea (patch)
tree15f4270bb5a038d5d340ad01a37480d25a56d4fe /build
parentc14188252b4dec575f3349e0fe5eaf065c0820da (diff)
Fix network connection check issue
Change-Id: Id42af08e9fe76db7f9d7dbae3b8b5bf60b079b14 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
Diffstat (limited to 'build')
-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