Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: image_to_vm.sh

Issue 6749020: Do not enable the use_tablet flag in qemu, as this breaks the mouse. (Closed) Base URL: ssh://gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: image_to_vm.sh
diff --git a/image_to_vm.sh b/image_to_vm.sh
index dbc30eea0e800f57f7c01fb962e6b23a73ad4c54..0ae0dcf8ea20fef930adad3269e882bf459476d1 100755
--- a/image_to_vm.sh
+++ b/image_to_vm.sh
@@ -189,15 +189,9 @@ sudo mount -o loop "${TEMP_ROOTFS}" "${TEMP_MNT}"
mkdir -p "${TEMP_ESP_MNT}"
sudo mount -o loop "${TEMP_ESP}" "${TEMP_ESP_MNT}"
-if [ "${FLAGS_format}" = "qemu" ]; then
- sudo python "${SCRIPTS_DIR}/fixup_image_for_qemu.py" \
- --mounted_dir="${TEMP_MNT}" \
- --enable_tablet=true
-else
- sudo python "${SCRIPTS_DIR}/fixup_image_for_qemu.py" \
- --mounted_dir="${TEMP_MNT}" \
- --enable_tablet=false
-fi
+sudo python "${SCRIPTS_DIR}/fixup_image_for_qemu.py" \
+ --mounted_dir="${TEMP_MNT}" \
+ --enable_tablet=false
Daniel Kurtz 2011/03/25 23:24:11 --enable_tablet="${enable_tablet}"
# Modify the unverified usb template which uses a default usb_disk of sdb3
sudo sed -i -e 's/sdb3/sda3/g' "${TEMP_MNT}/boot/syslinux/usb.A.cfg"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698