mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
quick fix for archive_build.sh
Review URL: http://codereview.chromium.org/1542008
This commit is contained in:
parent
3534a08218
commit
d59f616dac
@ -93,9 +93,11 @@ mkdir -p "$OUTDIR"
|
|||||||
if [ $FLAGS_test_mod -eq $FLAGS_TRUE ]
|
if [ $FLAGS_test_mod -eq $FLAGS_TRUE ]
|
||||||
then
|
then
|
||||||
echo "Modifying image for test"
|
echo "Modifying image for test"
|
||||||
cp "${FLAGS_from}/rootfs.image" "${FLAGS_from}/rootfs_test.image"
|
SRC_IMAGE="${FLAGS_from}/chromiumos_image.bin"
|
||||||
|
cp -f "${SRC_IMAGE}" "${FLAGS_from}/chromiumos_test_image.bin"
|
||||||
|
SRC_IMAGE="${FLAGS_from}/chromiumos_test_image.bin"
|
||||||
"${SCRIPTS_DIR}/mod_image_for_test.sh" --board $FLAGS_board --yes --image \
|
"${SCRIPTS_DIR}/mod_image_for_test.sh" --board $FLAGS_board --yes --image \
|
||||||
"${FLAGS_from}/rootfs_test.image"
|
"${SRC_IMAGE}"
|
||||||
cd "${FLAGS_chroot}/build/${FLAGS_board}/usr/local"
|
cd "${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 cjf "${FLAGS_from}/autotest.tar.bz2" autotest
|
||||||
|
Loading…
Reference in New Issue
Block a user