Fix NoPartitions class as AbstractPartition got mount_opts as additional parameter

This commit is contained in:
Michael Gerlach 2016-12-10 16:28:13 +01:00
parent 167a0af4ce
commit d462c5ab8f

View file

@ -17,7 +17,7 @@ class NoPartitions(object):
# In the NoPartitions partitions map we only have a single 'partition' # In the NoPartitions partitions map we only have a single 'partition'
self.root = SinglePartition(Sectors(data['root']['size'], sector_size), self.root = SinglePartition(Sectors(data['root']['size'], sector_size),
data['root']['filesystem'], data['root'].get('format_command', None)) data['root']['filesystem'], data['root'].get('format_command', None), data['root'].get('mount_opts', None))
self.partitions = [self.root] self.partitions = [self.root]
def is_blocking(self): def is_blocking(self):