Chromium Code Reviews| 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}" |
| } |