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

Unified Diff: bin/cros_run_vm_update

Issue 4147002: Add delta update support to imaging tools. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: indent Created 10 years, 2 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 | image_to_live.sh » ('j') | image_to_live.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cros_run_vm_update
diff --git a/bin/cros_run_vm_update b/bin/cros_run_vm_update
index 67995df648db7dfa705df999323f5b76f4bbdf0d..df0f5486fb1628d6cf37532ee5afb1c18b52241c 100755
--- a/bin/cros_run_vm_update
+++ b/bin/cros_run_vm_update
@@ -9,6 +9,8 @@
. "$(dirname $0)/../common.sh"
. "$(dirname $0)/../lib/cros_vm_lib.sh"
+DEFINE_string src_image "" \
+ "Create a delta update by passing in the image on the remote machine."
DEFINE_string stateful_update_flag "" "Flags to pass to stateful update." s
DEFINE_string update_image_path "" "Path of the image to update to." u
DEFINE_string vm_image_path "" "Path of the VM image to update from." v
@@ -31,6 +33,7 @@ $(dirname $0)/../image_to_live.sh \
--remote=127.0.0.1 \
--ssh_port=${FLAGS_ssh_port} \
--stateful_update_flag=${FLAGS_stateful_update_flag} \
+ --src_image="${FLAGS_src_image}" \
--verify \
--image=$(readlink -f ${FLAGS_update_image_path})
« no previous file with comments | « no previous file | image_to_live.sh » ('j') | image_to_live.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698