mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
Added output to tar command so it does not cause timeout to kick in.
Review URL: http://codereview.chromium.org/3076012
This commit is contained in:
parent
c8bba90ae4
commit
e6532bc3dd
@ -141,7 +141,7 @@ then
|
|||||||
|
|
||||||
pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/local"
|
pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/local"
|
||||||
echo "Archiving autotest build artifacts"
|
echo "Archiving autotest build artifacts"
|
||||||
tar cjf "${FLAGS_from}/autotest.tar.bz2" autotest
|
tar cjfv "${FLAGS_from}/autotest.tar.bz2" autotest
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -223,7 +223,7 @@ if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ]
|
|||||||
then
|
then
|
||||||
echo "Creating debug archive"
|
echo "Creating debug archive"
|
||||||
pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/lib"
|
pushd "${FLAGS_chroot}/build/${FLAGS_board}/usr/lib"
|
||||||
sudo tar czf "${OUTDIR}/debug.tgz" --exclude debug/usr/local/autotest \
|
sudo tar czfv "${OUTDIR}/debug.tgz" --exclude debug/usr/local/autotest \
|
||||||
--exclude debug/tests debug
|
--exclude debug/tests debug
|
||||||
CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz"
|
CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz"
|
||||||
sudo sh -c "${CMD}"
|
sudo sh -c "${CMD}"
|
||||||
|
Loading…
Reference in New Issue
Block a user