Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Unified Diff: archive_build.sh

Issue 2806088: Add checkpoints to archive_build (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: fix ws Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: archive_build.sh
diff --git a/archive_build.sh b/archive_build.sh
index 871963b06bdd2b1e2e2493ef6272eee274ccd286..15782842603bd5fb1939435555c7581bfe965cf8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698