mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
Remove v flag for untarring of libc. Reduces volume of log output
BUG=none TEST=./build_image --board=x86-alex Change-Id: I0112165e499fe0aa2dd3ff65c7f1d14406b3534b Reviewed-on: http://gerrit.chromium.org/gerrit/7648 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Tested-by: David Rochberg <rochberg@chromium.org> Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Raymes Khoury <raymes@chromium.org>
This commit is contained in:
parent
8e6b452f4e
commit
503e8f6dca
@ -162,7 +162,7 @@ create_base_image() {
|
|||||||
${BOARD} to update the version of libc installed on that board."
|
${BOARD} to update the version of libc installed on that board."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo tar jxvpf "${LIBC_PATH}" -C "${ROOT_FS_DIR}" ./usr/${CHOST} \
|
sudo tar jxpf "${LIBC_PATH}" -C "${ROOT_FS_DIR}" ./usr/${CHOST} \
|
||||||
--strip-components=3 --exclude=usr/include --exclude=sys-include \
|
--strip-components=3 --exclude=usr/include --exclude=sys-include \
|
||||||
--exclude=*.a --exclude=*.o
|
--exclude=*.a --exclude=*.o
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ ${BOARD} to update the version of libc installed on that board."
|
|||||||
# works with threads and also for a better debugging experience.
|
# works with threads and also for a better debugging experience.
|
||||||
if [[ ${FLAGS_withdev} -eq ${FLAGS_TRUE} ]] ; then
|
if [[ ${FLAGS_withdev} -eq ${FLAGS_TRUE} ]] ; then
|
||||||
sudo mkdir -p "${ROOT_FS_DIR}/usr/local/lib/debug"
|
sudo mkdir -p "${ROOT_FS_DIR}/usr/local/lib/debug"
|
||||||
sudo tar jxvpf "${LIBC_PATH}" -C "${ROOT_FS_DIR}/usr/local/lib/debug" \
|
sudo tar jxpf "${LIBC_PATH}" -C "${ROOT_FS_DIR}/usr/local/lib/debug" \
|
||||||
./usr/lib/debug/usr/${CHOST} --strip-components=6
|
./usr/lib/debug/usr/${CHOST} --strip-components=6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user