| 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.
|
|
|