diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-08 18:24:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:26:29 +0000 |
commit | e1a558a434957fc233eec6349ceb53b4e09bb18c (patch) | |
tree | e07e6ec5b3cbb4f6c2b20edd2f943fe854dc0d24 /meta/files/toolchain-shar-extract.sh | |
parent | 3341f3fbee818a0bd62620b8bc34230b03c0689c (diff) | |
download | poky-e1a558a434957fc233eec6349ceb53b4e09bb18c.tar.gz |
populate_sdk: Switch from bzip2 to xz
xz gives *much* faster decompression times for the SDK which in itself
is a good reason to use it. It also gives better compression.
One downside is its slower but we care about the end user case
first, build performance secondary.
It also assumes the SDK user has a tar capable of understanding a xz
compressed file but that should be common enough now.
(From OE-Core rev: 193086137b899a0a4e774ffc337ed0da9947fd4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/toolchain-shar-extract.sh')
-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 de8c66934e..b1ef4b7668 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
@@ -168,7 +168,7 @@ fi | |||
168 | payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1)) | 168 | payload_offset=$(($(grep -na -m1 "^MARKER:$" $0|cut -d':' -f1) + 1)) |
169 | 169 | ||
170 | printf "Extracting SDK..." | 170 | printf "Extracting SDK..." |
171 | tail -n +$payload_offset $0| $SUDO_EXEC tar xj -C $target_sdk_dir --checkpoint=.2500 | 171 | tail -n +$payload_offset $0| $SUDO_EXEC tar xJ -C $target_sdk_dir --checkpoint=.2500 |
172 | echo "done" | 172 | echo "done" |
173 | 173 | ||
174 | printf "Setting it up..." | 174 | printf "Setting it up..." |