mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Having introduced autodetection and autoselection of images, some users may be surprised to find that the script will happily choose to copy an image other than chromiumos_image.bin when only one image is present. Since this is substantially different from the previous behavior, we now present a menu (with a single choice) in this case as well. Also fixing the list of images to be detected and properly prioritizing a default image over others. The code should already work with the future image naming scheme, where chromiumos_image.bin will be a symlink to one of six concrete images (with unique names). BUG=None TEST=Ran script with different image configurations and flags. Change-Id: I5d448c5425754496d256258281694cd7ec2554d2 Reviewed-on: https://gerrit.chromium.org/gerrit/15982 Commit-Ready: Gilad Arnold <garnold@chromium.org> Reviewed-by: Gilad Arnold <garnold@chromium.org> Tested-by: Gilad Arnold <garnold@chromium.org>
Description
Languages
Shell
93.1%
Python
6.9%