diff --git a/subiquity/common/filesystem/manipulator.py b/subiquity/common/filesystem/manipulator.py index dbdfbb37..fb6636cf 100644 --- a/subiquity/common/filesystem/manipulator.py +++ b/subiquity/common/filesystem/manipulator.py @@ -170,7 +170,7 @@ class FilesystemManipulator: disk, spec, partition, gap) if partition is not None: - if 'size' in spec: + if 'size' in spec and spec['size'] != partition.size: trailing, gap_size = \ gaps.movable_trailing_partitions_and_gap_size(partition) new_size = align_up(spec['size'])