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