mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
[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 #1316
This commit is contained in:
parent
35a2db064b
commit
5247c13f98
3 changed files with 11 additions and 8 deletions
|
@ -224,10 +224,10 @@ public:
|
|||
*/
|
||||
QList< SummaryInfo > createSummaryInfo() const;
|
||||
|
||||
void dumpQueue() const; // debug output
|
||||
|
||||
const OsproberEntryList osproberEntries() const; // os-prober data structure, cached
|
||||
|
||||
void dumpQueue() const; // debug output
|
||||
|
||||
Q_SIGNALS:
|
||||
void hasRootMountPointChanged( bool value );
|
||||
void isDirtyChanged( bool value );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue