Add checkpoints to archive_build

Review URL: http://codereview.chromium.org/2806088
This commit is contained in:
Zelidrag Hornung 2010-07-29 10:32:26 -07:00
parent de456309c8
commit 151112ce00

View File

@ -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