summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-22 17:21:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:53:12 +0100
commit72810f9a645ff319bac45a24a3da64abcd9c98c6 (patch)
tree0fe4128f5b8142df72119dba44bdba672f1e6780 /meta/files
parent0dc9299774753b13c1eb04ef30de4625564429a6 (diff)
downloadpoky-72810f9a645ff319bac45a24a3da64abcd9c98c6.tar.gz
toolchain-shar-extract.sh: show progress when extracting SDK
Tar has supported a --checkpoint option since version 1.15.91, so it should be safe to use here to print dots showing that it's still doing something (technically it's not really progress unless you know how many dots it's going to print, which even it doesn't know at the start, but it's better than nothing). (From OE-Core rev: ee4aadd179be8141536f2fae16482683855a9a37) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/toolchain-shar-extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index cd0a547f86..6891279350 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -163,7 +163,7 @@ fi
163payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1)) 163payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1))
164 164
165printf "Extracting SDK..." 165printf "Extracting SDK..."
166tail -n +$payload_offset $0| $SUDO_EXEC tar xj -C $target_sdk_dir 166tail -n +$payload_offset $0| $SUDO_EXEC tar xj -C $target_sdk_dir --checkpoint=.2500
167echo "done" 167echo "done"
168 168
169printf "Setting it up..." 169printf "Setting it up..."