DescriptionClean up cros_make_image_bootable and image_to_vm
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
Patch Set 1 #
Total comments: 2
Patch Set 2 : dont change update_bootloaders #Patch Set 3 : make sure unverified syslinux gets the root updated too #
Messages
Total messages: 5 (0 generated)
|