rm -rf $(ls -td1R `find -mindepth 1 -maxdepth 1 -type d` | sed -e 1d -e 2d)
d="~/trunk/src/scripts"
-BUILD_IMG="${d}/${BUILD_IMG#.}"
-IMG_TO_USB="${d}/${IMG_TO_USB#.}"
+BUILD_IMG="${d}/${BUILD_IMG#./}"
+IMG_TO_USB="${d}/${IMG_TO_USB#./}"
cat <<EOF
### LIVE
### KVM
${d}/image_to_vm.sh --board=${BOARD} --from=../build/images/${BOARD}/latest
+${d}/image_to_vm.sh --board=${BOARD} --from=../build/images/${BOARD}/latest --test_image
+${d}/bin/cros_start_vm --no_graphics --image_path=../build/images/${BOARD}/latest/chromiumos_qemu_image.bin
kvm -m 1024 -vga std -net nic,model=virtio -net user,hostfwd=tcp::9222-:22 -hda ~/chromiumos/src/build/images/${BOARD}/latest/chromiumos_qemu_image.bin
### RECOVERY