mirror of https://github.com/cutefishos/calamares
[partition] Follow 'claimed' settings for claiming swap
- By the time the GS is actually written, new (for partition state) is always false. So "new" is the wrong thing to track. It should have had a better name anyway, - We store custom properties on the partition objects to indicate what happens to them; use those properties (instead of state, as done originally), call it "claimed" to indicate that the partition is part of this installation. For now, only new (as in, formatted, created-by-us) partitions are claimed. - The effect here is that only "new" swap will be added to the system, so in erase-disk installations, or manual partitioning. - Install-alongside and replace will now **not** claim the swap already on the disk; I think we'll need another UI knob for that one. FIXES #1316main
parent
35a2db064b
commit
5247c13f98
Loading…
Reference in New Issue