diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-09-22 17:21:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-23 09:53:12 +0100 |
commit | 72810f9a645ff319bac45a24a3da64abcd9c98c6 (patch) | |
tree | 0fe4128f5b8142df72119dba44bdba672f1e6780 | |
parent | 0dc9299774753b13c1eb04ef30de4625564429a6 (diff) | |
download | poky-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>
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 2 |
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 | |||
163 | payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1)) | 163 | payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1)) |
164 | 164 | ||
165 | printf "Extracting SDK..." | 165 | printf "Extracting SDK..." |
166 | tail -n +$payload_offset $0| $SUDO_EXEC tar xj -C $target_sdk_dir | 166 | tail -n +$payload_offset $0| $SUDO_EXEC tar xj -C $target_sdk_dir --checkpoint=.2500 |
167 | echo "done" | 167 | echo "done" |
168 | 168 | ||
169 | printf "Setting it up..." | 169 | printf "Setting it up..." |