Are you sure self.parted_partition is supposed to be a partition on
the model format and not the original format?
We call `self.device.disk.format.commit_to_disk()` in `ActionCreateFormat.execute()` so it
has to be on the model format.
And we can't add simple "if new partition, use model format and if existing
partition use original format" because even "new" partition already exists
during format creation.
If so, a change should be made in PartitionDevice.pre_commit_fixup
Currently `pre_commit_fixup` updates the `parted_partition` using original format.
Changing this to the model format works for the flags but `pre_commit_fixup` is used also
when destroying partitions. And destroying needs "correct" `parted_partition` on
the original format not on the model format.
Maybe there is some easy solution for this but I just don't see it.
--
To view this pull request on github, visit
https://github.com/rhinstaller/blivet/pull/289