mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Add checkpoints to archive_build
Review URL: http://codereview.chromium.org/2806088
This commit is contained in:
parent
de456309c8
commit
151112ce00
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user