aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-25 23:30:30 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-26 17:04:44 +0000
commit4b268006c62db90cd1081ee57cab3bb30376e506 (patch)
treed9b11e2839985493f7914527a023adf2ff28a2b6
parent82050de5fa77139d8e117683cb3c0084e5b7f250 (diff)
lib.sh: Reduce useless wget dot reporting
Downloading the base image (usually a few hundred MB) outputs a lot of useless dots to show progress. Switch to 1M per dot (from 1K). Change-Id: I8c525cad0b46e8ba3a7f6da4dd7f8277a49df91f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 056544990dcdab373c5a12ca1521012e80c404ad)
-rw-r--r--mcp/scripts/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 29c27d9e9..566b642eb 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -32,7 +32,7 @@ function get_base_image {
local image_dir=$2
mkdir -p "${image_dir}"
- wget -P "${image_dir}" -N "${base_image}"
+ wget --progress=dot:giga -P "${image_dir}" -N "${base_image}"
}
function __kernel_modules {