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

Unified Diff: image_to_vm.sh

Issue 3027012: Changes to use the postinst --esp-part-file flag; postinst fixups removed (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 5 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 | « fixup_image_for_qemu.py ('k') | 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 8e5ac32444e6516832d4e1caaf7a1b7778b0a9a9..6e2dfd4959e2fad0f757169f329e93a787be184d 100755
--- a/image_to_vm.sh
+++ b/image_to_vm.sh
@@ -179,15 +179,15 @@ mkdir -p "${TEMP_MNT}"
sudo mount -o loop "${TEMP_ROOTFS}" "${TEMP_MNT}"
if [ "${FLAGS_format}" = "qemu" ]; then
sudo python ./fixup_image_for_qemu.py --mounted_dir="${TEMP_MNT}" \
- --for_qemu=true
+ --enable_tablet=true
else
sudo python ./fixup_image_for_qemu.py --mounted_dir="${TEMP_MNT}" \
- --for_qemu=false
+ --enable_tablet=false
fi
# Change this value if the rootfs partition changes
ROOTFS_PARTITION=/dev/sda3
-sudo "${TEMP_MNT}"/postinst_vm "${ROOTFS_PARTITION}"
+sudo "${TEMP_MNT}"/postinst "${ROOTFS_PARTITION}" --esp_part_file="${TEMP_ESP}"
trap - INT TERM EXIT
cleanup
« no previous file with comments | « fixup_image_for_qemu.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698