[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 141: Update l-m-c cmdline options

Message ID 20111020130314.25449.82725.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Spring Zhang Oct. 20, 2011, 1:03 p.m.
Merge authors:
  Spring Zhang (qzhang)
Related merge proposals:
  https://code.launchpad.net/~qzhang/lava-dispatcher/fix-863091/+merge/79937
  proposed by: Spring Zhang (qzhang)
  review: Approve - Yongqin Liu (liuyq0307)
------------------------------------------------------------
revno: 141 [merge]
committer: Spring Zhang <spring.zhang@linaro.org>
branch nick: fix-863091
timestamp: Thu 2011-10-20 21:00:49 +0800
message:
  Update l-m-c cmdline options
modified:
  lava_dispatcher/actions/deploy.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_dispatcher/actions/deploy.py'
--- lava_dispatcher/actions/deploy.py	2011-10-14 19:31:25 +0000
+++ lava_dispatcher/actions/deploy.py	2011-10-20 10:19:30 +0000
@@ -164,7 +164,7 @@ 
                 raise RuntimeError("linaro-hwpack-replace failed: %s" % output)
 
         cmd = ("sudo flock /var/lock/lava-lmc.lck linaro-media-create --hwpack-force-yes --dev %s "
-               "--image_file %s --binary %s --hwpack %s --image_size 3G" %
+               "--image-file %s --binary %s --hwpack %s --image-size 3G" %
                (client.device_type, image_file, rootfs_path, hwpack_path))
         logging.info("Executing the linaro-media-create command")
         logging.info(cmd)