Adriaan de Groot
4db4e983e3
[partition] Don't format tables of attributes in source
2021-11-16 14:04:00 +01:00
Adriaan de Groot
3aac4dea67
[partition] Remove logging-of-a-pointer during device detection
2021-11-16 13:52:10 +01:00
dalto
490ac8d086
[partition] Ensure format is selected for existing zfs partitions
2021-11-15 18:41:35 -06:00
dalto
c48c91a5bd
[partition] Add support for zfs encryption when erase disk is selected
2021-11-15 18:41:35 -06:00
dalto
ee99ee48f6
Add support for multiple zpools
2021-11-15 18:41:35 -06:00
dalto
6da9bad272
[partition][zfs] Add support for zfs encryption
2021-11-15 18:41:34 -06:00
dalto
24a376493b
[partition] Add support for manually creating a partition for zfs
2021-11-15 18:41:34 -06:00
dalto
ca3f0e2892
[partition] Add zfs to the filesystem list if the zfs modules is enabled
2021-11-15 18:41:34 -06:00
Adriaan de Groot
8639c9a79f
[partition] Fix up tests
2021-11-09 16:37:25 +01:00
Adriaan de Groot
cd0785164b
[partition] Fix compatibility with Qt 5.12
2021-11-09 15:57:20 +01:00
Adriaan de Groot
bd4bed1438
Merge branch 'calamares' into work-3.3
2021-11-09 15:31:37 +01:00
Adriaan de Groot
575654941f
[partition] Move required partition table type to Config
...
- remove from GS
- remove duplication across Config and ChoicePage
- improve translations (presumably "msdos or gpt" is the most
complicated it will get)
FIXES #1735
2021-11-09 12:25:47 +01:00
Philip Müller
0486e48c4e
[partition] offer /boot also when other EFI partition was specified
...
- it still makes sense to offer /boot in EFI
- example: /boot ext4, /boot/efi vfat
- this partly reverts 60f8a7c5fb
2021-11-09 01:51:49 +01:00
Adriaan de Groot
e8209089c6
Merge branch 'issue-1740' into calamares
...
FIXES #1740
2021-11-03 15:49:03 +01:00
Adriaan de Groot
a0cb4b63a8
[partition] Fix build for old Qt
2021-11-03 11:14:22 +01:00
Adriaan de Groot
344948b5ab
Modules: clean up QProcess (part 1)
2021-11-02 23:46:26 +01:00
Adriaan de Groot
b5dba9108c
[partition] Check for LVs that will be formatted, don't close them
...
- when (manually) using an existing LV, it shouldn't be closed
prior to formatting, since that kills the volume and then the
path (/dev/myvg/mylv) no longer exists. Then creating the
filesysytem on that device path fails.
2021-11-02 15:33:34 +01:00
Adriaan de Groot
7b45793b60
[partition] Allow exceptions when closing /dev/mapper
...
- some names should not be closed, like "control"
- allow a list of names to be added which should not be closed
2021-11-02 15:26:25 +01:00
Adriaan de Groot
1410157356
[partition] Simplify and document ClearMounts
...
- note that the job indiscriminately closes all LUKS and LV
- don't hang on to lists we don't need
2021-11-02 11:55:13 +01:00
Adriaan de Groot
0253977778
[partition] Coding style
2021-11-02 11:50:51 +01:00
Adriaan de Groot
ca4a187d1a
[partition] Extract the get-PV-groups code to its own function
...
- get the list (once)
- move the lambda to a named function for readability
2021-11-02 11:18:14 +01:00
Adriaan de Groot
7fa02fd41c
[partition] Extract the get-LVM-volumes code to its own function
2021-11-02 11:10:09 +01:00
Adriaan de Groot
2a1ec84c87
[partition] Don't hang on to pointer longer than needed
2021-11-02 11:03:10 +01:00
Adriaan de Groot
04b119b051
[partition] Crypto device-list needn't be a member, either
2021-11-02 00:25:37 +01:00
Adriaan de Groot
f49389a408
[partition] Fix logic errors in stringification of MessageAndPath
2021-11-02 00:09:52 +01:00
Adriaan de Groot
c322eaa430
[partition] Fix translation issues
...
- Strings were being used as logical values, and then logged
(which should be in English) and also used in the UI (which
should be localized). Replace with a MessageAndPath class,
used only locally, that defers the translation until called-
upon explicitly.
- Replace some VG stuff with similar calls to apply().
2021-11-01 23:59:39 +01:00
Adriaan de Groot
e56158f5b4
[partition] Generate partition paths with /dev/
...
Returning partition full-paths instead of only the block-device-name
simplifies later code -- which would prepend /dev/ to the block-
device-name and umount that.
2021-11-01 20:54:48 +01:00
Adriaan de Groot
6c2b2b0daa
[partition] Factor out loops, document return values
...
- the tryX() functions weirdly return a string that is used for
debug-logging. Document that. The untranslated string is
later used for user-facing messages. Mark that as FIXME.
- factor out the loop-over-names-and-append to news, because that
makes the overall story of what is happening hard to read.
- all calls to tryCryptoClose() called tryUnmount() first, so
put that call inside tryCryptoClose(), so the interface is simpler.
2021-11-01 20:54:18 +01:00
Adriaan de Groot
0c84a87c67
[partition] Make internal methods static
2021-11-01 20:28:47 +01:00
Adriaan de Groot
105517fed7
[partition] Coding style
2021-11-01 20:24:47 +01:00
Adriaan de Groot
ac34cfadea
[partition] Factor out finding the swap-partitions
2021-11-01 20:23:49 +01:00
Adriaan de Groot
3e58639a68
[partition] Improve logging in ClearMountsJob
...
- mark internal bits as static
- explain what is being looked-for
SEE #1817
SEE #1564
2021-11-01 16:44:28 +01:00
Adriaan de Groot
dde55471ba
Merge branch 'calamares' into work-3.3
2021-10-30 15:00:54 +02:00
dalto
13a2d25b24
Add separate functions for zfs
2021-10-29 16:54:09 -05:00
dalto
be47b5e59c
Fix for zfs partition deletion
2021-10-23 13:40:47 -05:00
Adriaan de Groot
605ad788d0
[partition] Fix build against Qt deprecations
...
setMargin() has been deprecated for a long time, and
Calamares has a utility function for it anyway.
2021-09-30 00:02:43 +02:00
Adriaan de Groot
bcde8b87b1
[partition] Remove unreachable break
statements
2021-09-29 23:55:40 +02:00
Adriaan de Groot
d556dae415
[partition] Document how the configurable EFI size is coordinated
2021-09-28 21:31:12 +02:00
Adriaan de Groot
05f287ebbb
[partition] Use the configured EFI size
...
The `partition.conf` file contains an EFI-size. The default is 300MiB,
but distributions might like to use a bigger (or smaller) value.
Apply the configuration consistently everywhere where we need
"the size of the EFI partition". Extend the internal method
to look at the configured size.
2021-09-28 18:23:19 +02:00
Adriaan de Groot
90eb0cd844
[partition] Fix build
2021-09-28 18:16:34 +02:00
Adriaan de Groot
a72fc06502
[partition] Fix message (use MiB instead of bytes)
...
Reported by cfinnberg.
FIXES : #1796
2021-09-28 16:55:35 +02:00
Adriaan de Groot
6b460ce440
[partition] Compare size with the canonical source of "right EFI size"
...
While here, note that the canonical source returns bytes (not MiB).
2021-09-28 16:55:35 +02:00
Adriaan de Groot
8f65a644a9
[libcalamares] Rename cPointerSetter
...
This class doesn't really set a pointer -- it is a scoped assignment
through a pointer, which **can** set a value on destruction (when
it leaves scope). Rename it.
While here, extend the API so that it can do an assignment to the
underlying object **now**, while also doing a scoped assignment
later when it leaves scope. This makes some code a bit easier
to read ("in this scope, X is now <v> and then it becomes <v'>")
2021-09-22 11:29:52 +02:00
Adriaan de Groot
cf1128b719
[partition] Cut down log-spam while checking for resize
2021-09-22 01:27:33 +02:00
Adriaan de Groot
857aaa6ca4
[partition] Cut down log spam about /etc/fstab
2021-09-22 01:15:37 +02:00
Adriaan de Groot
e47dc4aa78
[partition] Fix build with translated buttons
2021-09-08 11:28:38 +02:00
Adriaan de Groot
226419f794
[partition] Translate button texts in warning boxes
2021-09-08 11:15:12 +02:00
Adriaan de Groot
2f88ba0d3f
[partition] Coding style
2021-08-31 14:03:04 +02:00
Adriaan de Groot
09491e4cbb
[partition] expect failures when kpm can't read the disk
2021-08-31 13:58:23 +02:00
Adriaan de Groot
1554c3a07c
[partition] Create KPM backend at start of test
2021-08-31 13:54:23 +02:00
Adriaan de Groot
3d0709c779
[partition] Avoid crash when there is no KPM backend
2021-08-31 13:46:25 +02:00
Adriaan de Groot
ede19c8a61
[partition] Fix build of devices test
2021-08-31 13:45:15 +02:00
Adriaan de Groot
854eb845d2
[partition] Fix build of layoutstest
...
This test needs UI because the devicemodel uses GUI parts.
2021-08-05 15:49:29 +02:00
Adriaan de Groot
22ba21f937
[partition] Stub of a test of scandevice
2021-08-31 13:16:45 +02:00
Adriaan de Groot
e294221a2d
[partition] Rename test executables
...
- all partition tests are now named partition<thing>test
2021-08-31 13:08:54 +02:00
Adriaan de Groot
d7767afe1b
Merge branch 'extra_qml' into calamares
2021-08-30 23:17:36 +02:00
Adriaan de Groot
6f16d3db83
Merge remote-tracking branch 'origin/issue-1761' into calamares
...
FIXES #1761
2021-08-30 22:33:03 +02:00
waneon
4bf3afac48
[partition] Fix invalid variable name
2021-08-27 19:18:09 -04:00
Adriaan de Groot
da49becac3
[partition] Tailor warning message about ESP
...
- tell the user all the things that are wrong with the
(proposed) ESP; a missing one gets all the suggestions.
2021-08-27 17:28:07 +02:00
Adriaan de Groot
6324fa3eb9
[partition] Disentangle questions of suitability of ESP
...
- split into size, type, flags so the warning message can
be tailored to what is wrong.
2021-08-27 17:27:26 +02:00
Adriaan de Groot
7d08770806
[partition] Apply code style
2021-08-27 17:26:50 +02:00
Adriaan de Groot
52a82ea1e6
[partition] Improve warning message in log
2021-08-26 17:39:06 +02:00
Adriaan de Groot
46ca4d93e7
[partition] Improve constness, naming
2021-08-26 17:30:55 +02:00
Adriaan de Groot
ad9306d7bb
Merge pull request #1749 from LordTermor/calamares
...
[partition] Disable delete button for extended partition
2021-08-26 17:18:09 +02:00
Artem Grinev
74a3a2da78
[partition] Fix Delete button for extended
...
Extended partition can't be removed when contains children. This commit
adds missing check.
2021-08-12 02:13:16 +04:00
Adriaan de Groot
b7a3f58df4
[partition] Update waiting widget only if it (still) exists
2021-08-05 14:51:31 +02:00
Adriaan de Groot
a1690ac2d6
[partition] Set up swap-choice texts correctly
2021-08-04 01:47:55 +02:00
Adriaan de Groot
0be4c38a87
[partition] Remove useless parameter
...
- previously, updateSwapChoicesTr() wanted to be a static free function,
but it needs QObject::tr() ; drop the unnecessary parameter (since it
is a member function).
2021-08-04 01:45:22 +02:00
Adriaan de Groot
390acd41b2
[partition] Factor out manual partitioning translation
...
- needs to be called when the button is created, too
2021-08-04 01:42:00 +02:00
Adriaan de Groot
2820316d16
Partition: don't set text if button doesn't exist
2021-08-05 14:23:11 +02:00
Adriaan de Groot
e8cb5c621a
[partition] Fix build
2021-07-26 20:54:43 +02:00
Adriaan de Groot
616f3d4fd7
[partition] Simplify retranslation of swap choices and manual partitioning
2021-07-26 16:18:31 +02:00
Adriaan de Groot
e0b8942242
[partition] Introduce retranslate slot for ChoicePage, code style
2021-07-26 16:12:41 +02:00
Adriaan de Groot
03e621f4a2
Modules: clean up linking
...
- do not link (explicitly) to Calamares libraries, the CMake
functions do that automatically.
- while here, tidy and remove commented-out-bits
- while here, remove unneeded includes
2021-07-26 15:04:43 +02:00
Adriaan de Groot
c2d0a247a3
[partition] Simplify code for overloads
2021-07-12 16:52:24 +02:00
Adriaan de Groot
b43759c6a5
[partition] Apply coding style
2021-07-12 15:42:54 +02:00
Adriaan de Groot
e8b17b9878
[partition] Factor out the descriptions per-disk
2021-07-12 15:39:45 +02:00
Adriaan de Groot
400a5751f9
[partition] Factor out description of action in status and widget
2021-07-12 15:17:34 +02:00
Adriaan de Groot
535f81ba8a
[partition] Factor out gather job-descriptions
...
Since prettyStatus() and the summaryWidget share a lot of
strings and code, start factoring that out.
2021-07-12 15:02:24 +02:00
Adriaan de Groot
7094c7bf39
[partition] Minor stylistic bits
2021-07-12 14:56:04 +02:00
demmm
6388b41e6c
[partition] adding prettyStatus
...
will be used in summaryq, reading from widgets not an option
section probably better suited for Config.cpp/h, since quite a bit of duplicated code from
createSummaryWidget
2021-07-06 18:59:58 +02:00
Adriaan de Groot
96c2c62470
[partition] Fix build on older KPMCore
2021-07-06 12:59:01 +02:00
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
2021-07-06 12:54:25 +02:00
Adriaan de Groot
b5c56fd579
[partition] Clarify comments on boot-flags
2021-07-05 13:33:09 +02:00
Adriaan de Groot
1a542d3afe
[partition] Write out type rather than aliasing to T
2021-07-05 13:11:00 +02:00
Adriaan de Groot
7ea6768852
[partition] Pick slightly more sensible defaults for FS selection
2021-07-05 12:39:56 +02:00
Adriaan de Groot
56ecf01dea
Merge branch 'pr-1667' into calamares
...
Allow user-selection of FS type
FIXES #1667
2021-07-05 12:31:58 +02:00
Adriaan de Groot
6a7a486b8c
[partition] Document interactions between defaultFS and layout
2021-07-05 12:28:17 +02:00
Adriaan de Groot
453d533d2c
[partition] Use default FS for layout items with type Unknown
2021-06-29 23:47:33 +02:00
Adriaan de Groot
c3528e4e40
[partition] Document that the default FS is used, also when erasing
2021-06-29 14:52:16 +02:00
Adriaan de Groot
67fafa04ac
[partition] Move fs-type handling into Config
...
- the defaultFileSystemType interacts with availableFileSystemTypes
so set them together.
2021-06-29 14:47:09 +02:00
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.
2021-06-29 13:21:46 +02:00
Adriaan de Groot
5e3a0eda73
[partition] Reduce confused naming
2021-06-29 13:01:21 +02:00
Adriaan de Groot
ebecfb9f8b
[partition] Simplify config-reading (now the variant-docs are better)
2021-06-29 12:21:14 +02:00
Adriaan de Groot
46f2d72b4c
[partition] requiredPartitionTableType: improve docs
2021-06-29 11:48:53 +02:00
Adriaan de Groot
5f7cfefed7
[partition] Migrate EFI settings-setting to Config object
2021-06-29 11:43:20 +02:00
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.
2021-06-29 11:22:47 +02:00
Adriaan de Groot
cba5b9e4fb
[partition]: restore defaultFileSystemType in config
...
Add the old key back, document the new key, expand schema.
2021-06-28 22:25:54 +02:00
Adriaan de Groot
131352ca03
[partition] Apply coding style
2021-06-22 00:21:01 +02:00
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.
2021-06-22 00:17:46 +02:00
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.
2021-06-22 00:11:46 +02:00
Adriaan de Groot
f06766085a
[partition] Rename function, to track down consumers
2021-06-22 00:11:46 +02:00
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.
2021-06-18 22:20:11 +02:00
Adriaan de Groot
6936915dd6
[partition] Fix logging (type of debug stream changed)
2021-06-18 17:41:22 +02:00
Adriaan de Groot
7deb6c0e9e
[partition] Improve logging in clearmounts job
2021-06-18 16:18:06 +02:00
Adriaan de Groot
66f96e339c
[libcalamares] Introduce cVerbose() convenience macro (like cDebug())
2021-06-18 16:01:04 +02:00
Adriaan de Groot
17cc0470da
[partition] Log names of partition flags, not just a number
2021-06-18 15:54:51 +02:00
Adriaan de Groot
bf7eed9342
[partition] Tidy debug output when creating table
2021-06-18 15:50:13 +02:00
Adriaan de Groot
fb7e6101ff
[partition] Hook erase-fs-type changes to the config-object
2021-06-18 13:53:47 +02:00
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.
2021-06-18 13:49:39 +02:00
Adriaan de Groot
2a0d4e5a23
[partition] Initialize pointers in declaration
2021-06-18 12:35:15 +02:00
Adriaan de Groot
26cabbb3e4
[partition] refactor config-reading from availableFileSystemTypes
2021-06-18 12:18:04 +02:00
Adriaan de Groot
cd804470b5
[partition] Canonicalize the FS choice for erase
2021-06-18 11:51:33 +02:00
Adriaan de Groot
d8a862ec82
[partition] Use Q_EMIT
2021-06-18 11:31:53 +02:00
Adriaan de Groot
4fa61249a8
[partition] Make the fs type used for erase, a config property
2021-06-18 11:29:36 +02:00
Adriaan de Groot
9fa5ab04e5
[partition] Apply coding style to core/
2021-06-18 11:23:27 +02:00
Adriaan de Groot
f9659989b1
[partition] rename findFS
...
Rename findFS -> canonicalFilesystemName because that's what it actually
does. While here, apply coding style to the files that are affected.
2021-06-18 11:09:11 +02:00
Adriaan de Groot
546253d750
[partition] Apply coding style
2021-06-18 11:00:15 +02:00
Adriaan de Groot
9ef22f4168
Merge branch 'calamares' of https://github.com/LordTermor/calamares into pr-1667
2021-06-15 11:48:33 +02:00
Adriaan de Groot
dba346be7a
[partition] Fix build in non-debug settings
2021-06-08 19:51:25 +02:00
Adriaan de Groot
4f70568c65
[partition] Remove unneeded includes
2021-06-08 15:05:44 +02:00
Adriaan de Groot
63c6a8bac8
[partition] Remove unneeded includes
2021-06-08 14:18:28 +02:00
Adriaan de Groot
f67c7f900c
[partition] Make the expanded (pop-up) icon sizes for devices a bit smaller
2021-06-08 14:14:11 +02:00
Adriaan de Groot
df634573bf
[partition] Resize combo box to show whole pop-up
...
The (collapsed) combo box should be wide enough to show the
entire pop-up (expanded) box data.
FIXES #1700
2021-06-08 14:09:31 +02:00
Adriaan de Groot
eb627bc055
[partition] Avoid crash when PARTITION_UNSAFE is on
...
PARTITION_UNSAFE is a debug mode. It is not used in
production, because it allows you to pick an install
device that would be dangerous (e.g. the current / device).
Existing code kept two copies of a list of pointers,
and deleted pointers from one of the lists and returned
the other -- which now contains dangling pointers.
Refactor by applying suitable lambdas to a single
copy of the list; this avoids copying the list so
there is no danger of dangling pointers.
2021-06-08 13:22:56 +02:00
Adriaan de Groot
a57a1fdbd8
[partition] Improve logging while collecting devices
2021-06-04 13:32:22 +02:00
Adriaan de Groot
cf341c53fa
Merge branch 'calamares' into improve-partition
2021-05-25 17:37:15 +02:00
Adriaan de Groot
a72d59d23b
[partition] Don't mention IRC support for weird configs
2021-05-31 10:38:37 +02:00
Adriaan de Groot
2d8cf6aabf
[partition] Fix build against KPMCore3
2021-05-26 16:36:28 +02:00
Adriaan de Groot
01911beccc
[partition] Expand debugging output
...
The partition path isn't set yet, so is probably 'empty'. Try logging the device, too.
2021-05-25 14:16:28 +02:00
Adriaan de Groot
252a88cb7f
[partition] Check for suitable bios_grub partition.
2021-05-25 14:07:58 +02:00
Adriaan de Groot
43c172f54d
[partition] Tighten up types
...
Don't return the generic Abstract model for bootloader, but
the subclass pointer, so that consumers can use the convenience
API on the subclass.
2021-05-25 13:23:28 +02:00
Adriaan de Groot
d0276fd25f
[partition] Look up bootloader by name, method
...
The bootloader model knows about both rows and
devices, so we can look up both at once. The
existing implementation as a non-member was rather
sketchy and wasn't used except as support for
restoreSelectedBootLoader().
2021-05-25 13:05:45 +02:00
Adriaan de Groot
dabd895755
[partition] Use type alias consistently
2021-05-25 12:33:12 +02:00
Adriaan de Groot
d630c2aadf
[partition] Introduce a check if the GPT-on-BIOS popup should be shown
...
The check is bogus right now, and it still always warns; but if
the `shouldWarnForGPTOnBIOS()` function is implemented, this will
fix issue 1701.
2021-05-25 12:00:35 +02:00
Adriaan de Groot
df20aa9ddb
Merge branch 'calamares' into improve-partition
2021-04-23 23:33:49 +02:00
Adriaan de Groot
231fa815c1
[partition] Forgotten )
2021-04-19 16:10:29 +02:00
Adriaan de Groot
117418fe60
[partition] Fix partitioning summary
...
- the %4 is left-over from the feature-summary string,
- replace it with ""; don't change the source string
because that will break translations right now.
2021-04-19 15:47:55 +02:00
Adriaan de Groot
4912de5893
[partition] reduce warnings with unsafe-option
...
- Move variables closer to where they are needed
- Do the winnowing / selection always, but in unsafe mode return
the un-winnowed list of devices
- Massage build documentation a little
2021-04-09 13:32:48 +02:00
Artem Grinev
9302ad1468
[partition] Erase disk FS choice
2021-03-31 20:15:02 +04:00
Adriaan de Groot
7a26143fbc
[partition] All action-changes should update next
2021-03-29 15:52:55 +02:00
Adriaan de Groot
1fe337d6ed
[partition] Improve logging of device-checking
...
- Avoid lots of function headers between the checks applied to
each individual device.
2021-03-29 15:25:57 +02:00
Adriaan de Groot
785042ccf3
[partition] Improve formatting of logging while loading configuration
2021-03-29 14:41:56 +02:00
Adriaan de Groot
0446f03613
[partition] Remove overly-chatty debugging from fs-name-lookup
2021-03-29 14:38:39 +02:00
Adriaan de Groot
7b09344a8b
[partition] Update next-button
...
You'll need a VM with 2 disks to demonstrate:
- Configure Calamares to pick "none" as initial action on
the partition page (this is a safe choice),
- Enter partition page,
- No action is selected, and the next> button is greyed out.
- Click erase; notice next> is now available.
- Change devices, notice no action is selected, but next>
is still available. Clicking on it, though, does nothing.
When changing to "no action", update the next-button's
availability.
2021-03-29 14:24:56 +02:00
Adriaan de Groot
70bf033dc0
[partition] Improve logging readability
...
- The entire queue is one long output, so print them with SubEntry
2021-03-29 14:17:40 +02:00
Adriaan de Groot
1155b6fc3d
[partition] Improve debug-output a little
2021-03-29 14:14:05 +02:00
Adriaan de Groot
0ec77f5d85
[partition] Warnings-- (uninitialized value)
2021-03-29 11:06:16 +02:00
Adriaan de Groot
df1d7dea61
[partition] Warnings--
...
Avoid the extra indirection through the otherwise-unused
prettyGptType(const QString&), construct table of names
only on first call to avoid static-initialization order
(though that's not important here).
2021-03-29 11:03:37 +02:00
Adriaan de Groot
22dbe60bb9
[partition] Use operations-API (available in all supported KPMCore versions)
2021-03-28 18:07:32 +02:00