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

Unified Diff: devserver.py

Issue 4106009: Add vm flag to the devserver to not patch the kernel. (Closed) Base URL: http://git.chromium.org/git/dev-util.git
Patch Set: ws 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 | « autoupdate.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devserver.py
diff --git a/devserver.py b/devserver.py
index 7a435304cc94ca038188258d10568e6980d7a537..4b98db3c3da2898bc37b6b31c326d0d0bfd64f13 100755
--- a/devserver.py
+++ b/devserver.py
@@ -116,6 +116,8 @@ if __name__ == '__main__':
default='MementoSoftwareUpdate')
parser.add_option('--factory_config', dest='factory_config',
help='Config file for serving images from factory floor.')
+ parser.add_option('--for_vm', dest='vm', default=False, action='store_true',
+ help='Update is for a vm image.')
parser.add_option('--image', dest='image',
help='Force update using this image.')
parser.add_option('-p', '--pregenerate_update', action='store_true',
@@ -161,7 +163,8 @@ if __name__ == '__main__':
forced_image=options.image,
use_cached=options.use_cached,
port=options.port,
- src_image=options.src_image)
+ src_image=options.src_image,
+ vm = options.vm)
# Sanity-check for use of validate_factory_config.
if not options.factory_config and options.validate_factory_config:
« no previous file with comments | « autoupdate.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698