mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
image_to_vm.sh was running chromeos-setimage. This script was not meant to be run outside of a CrOS environment, but its use here predates the cros_make_image_bootable script. The change converts the rehashing and imaging over to using cros_make_image_bootable. The vm image uses the usb boot target but defaults the usb drive to sda3. update_bootloaders is fixed to not clobber existing syslinux templates. cros_make_image_bootable flag override support was broken and this fixes it. TEST=build a new image wtih rootfs checking and without and ensure both woth with image_to_vm. Also make sure they still boot normally on available hardware. BUG=chromium-os:5939 Review URL: http://codereview.chromium.org/3189018 Change-Id: Ib4ac25f1a76f25ac7ce4538614ba247df9caea91
Description
Languages
Shell
93.1%
Python
6.9%