From 151112ce00656785dc20dc9e226cc7c649321b5e Mon Sep 17 00:00:00 2001 From: Zelidrag Hornung Date: Thu, 29 Jul 2010 10:32:26 -0700 Subject: [PATCH] Add checkpoints to archive_build Review URL: http://codereview.chromium.org/2806088 --- archive_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archive_build.sh b/archive_build.sh index 871963b06b..1578284260 100755 --- a/archive_build.sh +++ b/archive_build.sh @@ -141,7 +141,7 @@ then pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/local" echo "Archiving autotest build artifacts" - tar cjfv "${FLAGS_from}/autotest.tar.bz2" autotest + tar cjf "${FLAGS_from}/autotest.tar.bz2" --checkpoint=1000 autotest popd fi @@ -223,8 +223,8 @@ if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ] then echo "Creating debug archive" pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/lib" - sudo tar czfv "${OUTDIR}/debug.tgz" --exclude debug/usr/local/autotest \ - --exclude debug/tests debug + sudo tar czf "${OUTDIR}/debug.tgz" --checkpoint=1000 --exclude\ + debug/usr/local/autotest --exclude debug/tests debug CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz" sudo sh -c "${CMD}" popd