diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 453: Updating fetch image library to match new linaro media create command line.

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

Commit Message

James Tunnicliffe Oct. 20, 2011, 4:43 p.m. UTC
Merge authors:
  James Tunnicliffe (dooferlad)
Related merge proposals:
  https://code.launchpad.net/~dooferlad/linaro-image-tools/fetch-image_use_new_lmc_params/+merge/79971
  proposed by: James Tunnicliffe (dooferlad)
  review: Approve - James Westby (james-w)
------------------------------------------------------------
revno: 453 [merge]
committer: James Tunnicliffe <james.tunnicliffe@linaro.org>
branch nick: linaro-image-tools
timestamp: Thu 2011-10-20 17:41:10 +0100
message:
  Updating fetch image library to match new linaro media create command line.
modified:
  linaro_image_tools/fetch_image.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro_image_tools/fetch_image.py'
--- linaro_image_tools/fetch_image.py	2011-08-22 17:04:07 +0000
+++ linaro_image_tools/fetch_image.py	2011-10-20 15:00:06 +0000
@@ -597,12 +597,12 @@ 
                "specify either an image file, or an mmc target, not both.")
 
         self.append_setting_to(args, settings, 'mmc')
-        self.append_setting_to(args, settings, 'image_file')
-        self.append_setting_to(args, settings, 'image_size')
-        self.append_setting_to(args, settings, 'swap_size')
-        self.append_setting_to(args, settings, 'swap_file')
+        self.append_setting_to(args, settings, 'image_file', '--image-file')
+        self.append_setting_to(args, settings, 'image_size', '--image-size')
+        self.append_setting_to(args, settings, 'swap_size', '--swap-size')
+        self.append_setting_to(args, settings, 'swap_file', '--swap-file')
         self.append_setting_to(args, settings, 'yes_to_mmc_selection',
-                                               '--nocheck_mmc')
+                                               '--nocheck-mmc')
 
         args.append("--dev")
         args.append(settings['hardware'])