mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
build_image: use pbzip2 when decompressing glibc
BUG=None TEST=build_image for daisy worked Change-Id: If2343bc1f13a23bc1b6bc0eae9a4ed8938b53eb4 Reviewed-on: https://gerrit.chromium.org/gerrit/37361 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
3c74b3db97
commit
3e759d9e7d
@ -170,9 +170,10 @@ create_base_image() {
|
|||||||
"--board=${BOARD} to update the version of libc installed on that board."
|
"--board=${BOARD} to update the version of libc installed on that board."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo tar jxpf "${LIBC_PATH}" -C "${root_fs_dir}" ./usr/${CHOST} \
|
pbzip2 -dc --ignore-trailing-garbage=1 "${LIBC_PATH}" | \
|
||||||
--strip-components=3 --exclude=usr/include --exclude=sys-include \
|
sudo tar xpf - -C "${root_fs_dir}" ./usr/${CHOST} \
|
||||||
--exclude=*.a --exclude=*.o
|
--strip-components=3 --exclude=usr/include --exclude=sys-include \
|
||||||
|
--exclude=*.a --exclude=*.o
|
||||||
|
|
||||||
board_ctarget=$(get_ctarget_from_board "${BOARD}")
|
board_ctarget=$(get_ctarget_from_board "${BOARD}")
|
||||||
for atom in $(portageq match / cross-$board_ctarget/gcc); do
|
for atom in $(portageq match / cross-$board_ctarget/gcc); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user