fix convert failed issue
authorGui Chen <gui.chen@intel.com>
Tue, 12 Jun 2012 10:32:32 +0000 (18:32 +0800)
committerGui Chen <gui.chen@intel.com>
Tue, 12 Jun 2012 10:32:32 +0000 (18:32 +0800)
Traceback: "AttributeError: 'LiveUSBImageCreator' object has no attribute 'pack_to'"

Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/imager/baseimager.py

index f23ec56..af12d8e 100644 (file)
@@ -74,6 +74,7 @@ class BaseImageCreator(object):
         self.destdir = "."
         self.target_arch = "noarch"
         self._local_pkgs_path = None
+        self.pack_to = None
 
         # If the kernel is save to the destdir when copy_kernel cmd is called.
         self._need_copy_kernel = False