mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Deprecate use of mod_image_for_test with a large warning.
We'll phase out later. BUG=chromium-os:31183 TEST=Ran it. Change-Id: I7ddf44b661f52ca9186e429ed3955884c4b2cbd4 Reviewed-on: https://gerrit.chromium.org/gerrit/23653 Tested-by: Chris Sosa <sosa@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Chris Sosa <sosa@chromium.org>
This commit is contained in:
parent
4051405da9
commit
a1f914f544
@ -49,6 +49,10 @@ switch_to_strict_mode
|
|||||||
. "${BUILD_LIBRARY_DIR}/mount_gpt_util.sh" || exit 1
|
. "${BUILD_LIBRARY_DIR}/mount_gpt_util.sh" || exit 1
|
||||||
. "${BUILD_LIBRARY_DIR}/test_image_util.sh" || exit 1
|
. "${BUILD_LIBRARY_DIR}/test_image_util.sh" || exit 1
|
||||||
|
|
||||||
|
warn "THIS SCRIPT HAS BEEN DEPRECATED. IT MAY PRODUCE AN UN-BOOTABLE TEST" \
|
||||||
|
"IMAGE. TO BUILD A TEST IMAGE, USE build_image [FLAGS] test"
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# No image was provided. Use the standard latest image
|
# No image was provided. Use the standard latest image
|
||||||
if [ -z "$FLAGS_image" ]; then
|
if [ -z "$FLAGS_image" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user