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

Unified Diff: archive_build.sh

Issue 3014048: Add in proper path for recovery image in chroot (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 5 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 ad080910b1b1ccea6d9b2a5c2b78621a7235345a..be082c2f192f0328d2d98c76e1073a5928a6892c 100755
--- a/archive_build.sh
+++ b/archive_build.sh
@@ -162,8 +162,10 @@ fi
# Modify for recovery
if [ $FLAGS_official_build -eq $FLAGS_TRUE ]
then
+ BUILDVER=$(ls -t1 $IMAGES_DIR/$FLAGS_board 2>&-| head -1)
+ CHROOT_IMAGE_DIR=/home/$USER/trunk/src/build/images/$FLAGS_board/$BUILDVER
./enter_chroot.sh -- ./mod_image_for_recovery.sh --board $FLAGS_board \
- --image $FLAGS_from/chromiumos_base_image.bin
+ --image $CHROOT_IMAGE_DIR/chromiumos_base_image.bin
fi
# Remove the developer build if test image is also built.
« 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