mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
Add do_recovery_mod() to create recovery image
Review URL: http://codereview.chromium.org/3020037
This commit is contained in:
parent
2654f24e1b
commit
7f2951d993
@ -159,6 +159,13 @@ then
|
||||
"--factory_install"
|
||||
fi
|
||||
|
||||
# Modify for recovery
|
||||
if [ $FLAGS_official_build -eq $FLAGS_TRUE ]
|
||||
then
|
||||
./enter_chroot.sh -- ./mod_image_for_recovery.sh --board $FLAGS_board \
|
||||
--image $FLAGS_from/chromiumos_base_image.bin
|
||||
fi
|
||||
|
||||
# Remove the developer build if test image is also built.
|
||||
if [ $FLAGS_test_mod -eq $FLAGS_TRUE ] ; then
|
||||
rm -f ${SRC_IMAGE}
|
||||
|
Loading…
x
Reference in New Issue
Block a user