Currently we pass in the path that is outside of the chroot to a script that runs inside of the chroot. We need to make sure we pass the path that is in the chroot to the mod_image_for_recovery.sh.

Review URL: http://codereview.chromium.org/3014048
This commit is contained in:
Scott Zawalski 2010-08-02 12:31:35 -07:00
parent 52ed3f969a
commit ec6421c21a

View File

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