filesystem: create_partition size from gap
Previously it used the size from the spec
This commit is contained in:
parent
8a16a74d34
commit
19631f04ff
|
@ -79,7 +79,7 @@ class FilesystemManipulator:
|
|||
|
||||
def create_partition(self, device, gap, spec, **kw):
|
||||
part = self.model.add_partition(
|
||||
device, size=spec["size"], offset=gap.offset, **kw)
|
||||
device, size=gap.size, offset=gap.offset, **kw)
|
||||
self.create_filesystem(part, spec)
|
||||
return part
|
||||
|
||||
|
|
Loading…
Reference in New Issue