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

Unified Diff: src/scripts/archive_build.sh

Issue 1542008: quick fix for archive_build.sh (Closed)
Patch Set: Created 10 years, 9 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: src/scripts/archive_build.sh
diff --git a/src/scripts/archive_build.sh b/src/scripts/archive_build.sh
index b09ed8e64975cd96eab0c212802cb047e9763cec..127638d71463e59951414b4b5e065d6b20a2cc69 100755
--- a/src/scripts/archive_build.sh
+++ b/src/scripts/archive_build.sh
@@ -93,9 +93,11 @@ mkdir -p "$OUTDIR"
if [ $FLAGS_test_mod -eq $FLAGS_TRUE ]
then
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 \
- "${FLAGS_from}/rootfs_test.image"
+ "${SRC_IMAGE}"
cd "${FLAGS_chroot}/build/${FLAGS_board}/usr/local"
echo "Archiving autotest build artifacts"
tar cjf "${FLAGS_from}/autotest.tar.bz2" autotest
« 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