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

Unified Diff: bin/cros_image_to_target.py

Issue 6576023: scripts: call devserver/payload generators from chroot & delete moved scripts (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Created 9 years, 10 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 | « bin/cros_au_test_harness.py ('k') | cros_generate_stateful_update_payload » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cros_image_to_target.py
diff --git a/bin/cros_image_to_target.py b/bin/cros_image_to_target.py
index 85475b0458ebe79dcd791fccc3343e5c85b62464..b5b6393438b7e934282b34dbdab8ec2fb59a65ae 100755
--- a/bin/cros_image_to_target.py
+++ b/bin/cros_image_to_target.py
@@ -206,7 +206,7 @@ class CrosEnv(object):
self.Info('Using cached update image %s' % dst)
return True
- if not self.cmd.Run(self.CrosUtilsPath('cros_generate_update_payload'),
+ if not self.cmd.Run('cros_generate_update_payload',
Paul Stewart 2011/02/24 18:49:39 These changes force the user to run from within th
'--image=%s' % src, '--output=%s' % dst,
'--patch_kernel'):
self.Error('generate_payload failed')
@@ -221,8 +221,7 @@ class CrosEnv(object):
self.Info('Using cached stateful %s' % dst_file)
return True
- return self.cmd.Run(self.CrosUtilsPath(
- 'cros_generate_stateful_update_payload'),
+ return self.cmd.Run('cros_generate_stateful_update_payload',
'--image=%s' % src, '--output=%s' % dst_dir)
def GetSize(self, filename):
@@ -343,7 +342,7 @@ class CrosEnv(object):
return False
self.Info('Update complete - running update script on client')
- self.ssh_cmd.Copy(self.CrosUtilsPath('../platform/dev/stateful_update'),
+ self.ssh_cmd.Copy('/usr/bin/stateful_update',
'/tmp')
if not self.ssh_cmd.Run('/tmp/stateful_update', url_base,
remote_tunnel=(port, port)):
« no previous file with comments | « bin/cros_au_test_harness.py ('k') | cros_generate_stateful_update_payload » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698