5032 Commits (eb4ffe737e55240759ff69c2ffb0108bb4a52d47)

Author SHA1 Message Date
Adriaan de Groot eb4ffe737e [mount] Fix logic
- filter() returns the items for which the predicate is True;
  we want to keep the subvolumes that do not have an explicit
  partition already associated.
- need list() to hammer it back into a list for appending swap subvol.
5 years ago
Adriaan de Groot 995646936f [mount] Add test exercising refactored btrfs code 5 years ago
Adriaan de Groot e800b2da2d [mount] Factor out swap-subvolume setting 5 years ago
Adriaan de Groot cc357140e5 [mount] Factor out the subvolume-filtering for partitions 5 years ago
Adriaan de Groot 6b2088c94e [mount] Restore @home subvolume
In 942221c764 the fixed-setup
(with /@ and /@home) was replaced by the configurable btrfs
layout, but the default went away. Restore the two-subvolume
layout if nothing is configured.
5 years ago
Adriaan de Groot 3531896892 [mount] Factor out the default btrfs configuration 5 years ago
Adriaan de Groot 96c2c62470 [partition] Fix build on older KPMCore 5 years ago
Adriaan de Groot a4fadcd9be [partition] Introduce check for EFI partition type-and-size
Re-use the existing message about partition type and size,
since I don't want to introduce another message with all the
specifics; give a works-always message instead.

The check itself is also straightforward, avoiding all of the
nuances and technically-this-might-work cases: FAT32, 300MiB+.

FIXES #607
5 years ago
Adriaan de Groot b5c56fd579 [partition] Clarify comments on boot-flags 5 years ago
Adriaan de Groot 1a542d3afe [partition] Write out type rather than aliasing to T 5 years ago
Adriaan de Groot 7ea6768852 [partition] Pick slightly more sensible defaults for FS selection 5 years ago
Adriaan de Groot 56ecf01dea Merge branch 'pr-1667' into calamares
Allow user-selection of FS type

FIXES #1667
5 years ago
Adriaan de Groot 6a7a486b8c [partition] Document interactions between defaultFS and layout 5 years ago
demmm 8b561a29f5 [usersq] add close button to all password message fields 5 years ago
demmm fce798dadf [users] add an OK message to password message fields
empty text box on all good status in usersq is confusing
5 years ago
demmm a156d2e63f [usersq] working password validity check
kirigami inlinemessages adjusted for password fields
coding style, break lines in variables
add closing button for root password inline message, needed bc of
re-use root password option does not remove all messages
5 years ago
demmm ce699d8e3d [usersq] add warnings for forbidden names
root & localhost set as forbidden in loginname & hostname
5 years ago
demmm 00b6694073 [usersq] use validator for login & hostname
pallette for colors
inline warning messages now work, password fields checks included
left to implement are password validation inline messages
5 years ago
Adriaan de Groot 453d533d2c [partition] Use default FS for layout items with type Unknown 5 years ago
demmm 70df0b0bc8 [localeq] prevent MouseArea from stealing all map interaction
bug introduced with Qt 5.15 KDE patches makes near impossible to set location
adding - 5 seems to fix, otherwise the coordinates label will have to be removed
5 years ago
Adriaan de Groot c3528e4e40 [partition] Document that the default FS is used, also when erasing 5 years ago
Adriaan de Groot 67fafa04ac [partition] Move fs-type handling into Config
- the defaultFileSystemType interacts with availableFileSystemTypes
  so set them together.
5 years ago
Adriaan de Groot f494440895 [partition] Don't run bool allowManualPartitioning through GS
It's a bit over-wrought to store a bool in a QVariant in GS for
consumption **only** by ChoicePage, so drop that GS key and store
it locally.
5 years ago
Adriaan de Groot 5e3a0eda73 [partition] Reduce confused naming 5 years ago
Adriaan de Groot ebecfb9f8b [partition] Simplify config-reading (now the variant-docs are better) 5 years ago
Adriaan de Groot 46f2d72b4c [partition] requiredPartitionTableType: improve docs 5 years ago
Adriaan de Groot 5f7cfefed7 [partition] Migrate EFI settings-setting to Config object 5 years ago
Adriaan de Groot c3bc305bb6 [partition] Shuffle Config and ViewStep to top
Modules nearly always have a Config and either a Job or ViewStep
as their "top level" components. Everything else is implementation-
detail. The *partition* module was unusual in that those two
"top level" components were tucked away in subdirectories.

Shuffle them to the top: this makes it more clear that these
two files are there to coordinate the module.
5 years ago
Adriaan de Groot cba5b9e4fb [partition]: restore defaultFileSystemType in config
Add the old key back, document the new key, expand schema.
5 years ago
Adriaan de Groot a86ffd105a [bootloader] factor out GRUB EFI determinations 5 years ago
Adriaan de Groot d068371e62
Merge pull request #1733 from CC2130/aarch64-support
[bootloader] add support for aarch64
5 years ago
demmm 2f7d251000 [usersq] empty length is starting color 5 years ago
demmm 989d08c70a [usersq] add inline messages, adjust layout
warning messages implemented for user & host names
move root password option box inline with password section
adjust background color according to text.length
hardcode color instead of kirigami colors
usersq is now usable, sets user, hostname & password correctly on install
warning messages & color changes not fully done yet
5 years ago
Jia Chao 3dce393dcc bootloader: add-support_for_aarch64 5 years ago
Omer I.S e1bf7ae96f
Add Hebrew and Arabic 5 years ago
Adriaan de Groot 131352ca03 [partition] Apply coding style 5 years ago
Adriaan de Groot e2bf717ea0 [partition] Rewrite new-partition API
The existing API required calling the one constructor with
specific pointers (nullptr for a partition-from-free-space)
followed by calling one of the initFrom*() functions. This
is fragile design.

Use tag-classes to distinguish create-from-free-space and
edit-another-freshly-created-partition cases, refactor
to merge the initFrom*() methods into the constructors
and factor out the shared UI creation.

Callers can now use the tag-class to distinguish. While
here, adjust both callers to use QPointer, avoiding some
very specific dialog-on-the-stack crash possibilities.
5 years ago
Adriaan de Groot dbfd8bea03 [partition] Newly-created (fresh) partitions don't have flags yet
When a partition is set as "freshly created", the dialog was
passing in newFlags() as the **already-active** flags on the
partition; then the caller was setting those same flags as
"set these in the future", so that afterwards, no flags would
actually be set (because they're already active -- see the
first sentence).

Now, fresh partitions have no flags.
5 years ago
Adriaan de Groot f06766085a [partition] Rename function, to track down consumers 5 years ago
Adriaan de Groot 60f8a7c5fb [partition] Don't offer /boot if EFI wants something else
- Don't leave /boot in the list always; EFI might be configured
  for /boot/efi on this system
- While here, apply coding style.
5 years ago
Adriaan de Groot 6936915dd6 [partition] Fix logging (type of debug stream changed) 5 years ago
Adriaan de Groot 7deb6c0e9e [partition] Improve logging in clearmounts job 5 years ago
Adriaan de Groot 66f96e339c [libcalamares] Introduce cVerbose() convenience macro (like cDebug()) 5 years ago
Adriaan de Groot 17cc0470da [partition] Log names of partition flags, not just a number 5 years ago
Adriaan de Groot bf7eed9342 [partition] Tidy debug output when creating table 5 years ago
Adriaan de Groot fb7e6101ff [partition] Hook erase-fs-type changes to the config-object 5 years ago
Adriaan de Groot 7ce2a87644 [partition] Fix build
- fsName was a QString (a copy) so it could be modified;
- the modification isn't really necessary.
- While here, pick up new PointerSetter convenience class.
5 years ago
Adriaan de Groot 2a0d4e5a23 [partition] Initialize pointers in declaration 5 years ago
Adriaan de Groot 26cabbb3e4 [partition] refactor config-reading from availableFileSystemTypes 5 years ago
Adriaan de Groot cd804470b5 [partition] Canonicalize the FS choice for erase 5 years ago