mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
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:
parent
52ed3f969a
commit
ec6421c21a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user