fix incorrect location outdir to destdir
authorGui Chen <gui.chen@intel.com>
Wed, 14 May 2014 10:36:16 +0000 (06:36 -0400)
committerGui Chen <gui.chen@intel.com>
Tue, 10 Jun 2014 02:46:12 +0000 (22:46 -0400)
Change-Id: Ic0ec2d5ed9cefbc90d8a4b1149ecb7d984ad1e9f
Signed-off-by: Gui Chen <gui.chen@intel.com>
Conflicts:
plugins/imager/fs_plugin.py
plugins/imager/livecd_plugin.py
plugins/imager/liveusb_plugin.py
plugins/imager/loop_plugin.py
plugins/imager/raw_plugin.py

plugins/imager/fs_plugin.py
plugins/imager/livecd_plugin.py
plugins/imager/liveusb_plugin.py
plugins/imager/loop_plugin.py
plugins/imager/raw_plugin.py

index 28ec970..282097a 100644 (file)
@@ -121,9 +121,10 @@ class FsPlugin(ImagerPlugin):
             creator.configure(creatoropts["repomd"])
             creator.copy_kernel()
             creator.unmount()
-            creator.package(creatoropts["outdir"])
+            creator.package(creatoropts["destdir"])
             if creatoropts['release'] is not None:
-                creator.release_output(ksconf, creatoropts['outdir'], creatoropts['release'])
+                creator.release_output(ksconf, creatoropts['destdir'],
+                        creatoropts['release'])
             creator.print_outimage_info()
         except errors.CreatorError:
             raise
index 7d17d85..44b57ef 100644 (file)
@@ -112,9 +112,9 @@ class LiveCDPlugin(ImagerPlugin):
             creator.configure(creatoropts["repomd"])
             creator.copy_kernel()
             creator.unmount()
-            creator.package(creatoropts["outdir"])
+            creator.package(creatoropts["destdir"])
             if creatoropts['release'] is not None:
-                creator.release_output(ksconf, creatoropts['outdir'], creatoropts['release'])
+                creator.release_output(ksconf, creatoropts['destdir'], creatoropts['release'])
             creator.print_outimage_info()
 
         except errors.CreatorError:
index 0c80acc..b00b2eb 100644 (file)
@@ -113,9 +113,9 @@ class LiveUSBPlugin(ImagerPlugin):
             creator.configure(creatoropts["repomd"])
             creator.copy_kernel()
             creator.unmount()
-            creator.package(creatoropts["outdir"])
+            creator.package(creatoropts["destdir"])
             if creatoropts['release'] is not None:
-                creator.release_output(ksconf, creatoropts['outdir'], creatoropts['release'])
+                creator.release_output(ksconf, creatoropts['destdir'], creatoropts['release'])
             creator.print_outimage_info()
 
         except errors.CreatorError:
index 8b4dcaf..50e1c01 100644 (file)
@@ -122,11 +122,11 @@ class LoopPlugin(ImagerPlugin):
             creator.configure(creatoropts["repomd"])
             creator.copy_kernel()
             creator.unmount()
-            creator.package(creatoropts["outdir"])
+            creator.package(creatoropts["destdir"])
 
             if creatoropts['release'] is not None:
                 creator.release_output(ksconf,
-                                       creatoropts['outdir'],
+                                       creatoropts['destdir'],
                                        creatoropts['release'])
             creator.print_outimage_info()
 
index 2dfa8e7..a24b549 100644 (file)
@@ -127,9 +127,9 @@ class RawPlugin(ImagerPlugin):
             creator.copy_kernel()
             creator.unmount()
             creator.generate_bmap()
-            creator.package(creatoropts["outdir"])
+            creator.package(creatoropts["destdir"])
             if creatoropts['release'] is not None:
-                creator.release_output(ksconf, creatoropts['outdir'], creatoropts['release'])
+                creator.release_output(ksconf, creatoropts['destdir'], creatoropts['release'])
             creator.print_outimage_info()
 
         except errors.CreatorError: