It doesn't do anything we need, so remove it and fix up callers/base
classes.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
exec_cmd(dd_cmd)
self.device = self.image_file
-
-
-class Mount:
- """A generic base class to deal with mounting things."""
- def __init__(self, mountdir):
- self.mountdir = mountdir
-
- def cleanup(self):
- self.unmount()
-
- def mount(self, options = None):
- pass
-
- def unmount(self):
- pass
-
# Size of a sector in bytes
SECTOR_SIZE = 512
-class PartitionedMount(Mount):
+class PartitionedMount:
def __init__(self, mountdir):
- Mount.__init__(self, mountdir)
self.disks = {}
self.partitions = []
self.mountOrder = []
self.unmountOrder.reverse()
def cleanup(self):
- Mount.cleanup(self)
if self.disks:
for dev in self.disks.keys():
d = self.disks[dev]