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

Unified Diff: archive_build.sh

Issue 6527001: Remove old logic ... and don't needlessly modifiy dev image. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Use image name Created 9 years, 10 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 94630059fd0017fee87bd6c25aa55f44a4fbe5c4..9efd494a54b82b2b12504349cca2cff485a8c61b 100755
--- a/archive_build.sh
+++ b/archive_build.sh
@@ -139,7 +139,7 @@ rm -rf "$OUTDIR"
mkdir -p "$OUTDIR"
-SRC_IMAGE="${FLAGS_from}/chromiumos_image.bin"
+SRC_IMAGE="${FLAGS_from}/${CHROMEOS_IMAGE_NAME}"
BACKUP_IMAGE="${FLAGS_from}/chromiumos_image_bkup.bin"
# Apply mod_image_for_test to the developer image, and store the
@@ -150,7 +150,7 @@ function do_chroot_mod() {
OUTPUT_IMAGE=$1
cp -f "${SRC_IMAGE}" "${BACKUP_IMAGE}"
./enter_chroot.sh -- ./mod_image_for_test.sh --board $FLAGS_board \
- --yes ${MOD_ARGS}
+ --yes --noinplace ${MOD_ARGS}
mv "${SRC_IMAGE}" "${OUTPUT_IMAGE}"
sjg 2011/02/15 22:25:34 This overwrites the test image!
mv "${BACKUP_IMAGE}" "${SRC_IMAGE}"
}
« 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