Adriaan de Groot
54250887e1
[locale] Adapt to changed RegionZonePair
...
- add method that takes a pair directly
- don't act like a pair is a std::pair
2024-02-19 23:04:37 +01:00
Adriaan de Groot
38d78404b1
[locale*] Modernize setting compile definitions
2024-02-19 00:13:26 +01:00
Adriaan de Groot
a5dbe793d9
[packagechooser*] Modernize linking with dependencies
2024-02-19 00:06:45 +01:00
Adriaan de Groot
1e59092bf5
[partition] Clear jobs and reset intent
...
Start from a clean slate of intentions when applying changes
in the edit dialog. While here, shuffle debugging around so
that we get more useful information at once.
2024-02-18 22:38:03 +01:00
Adriaan de Groot
d640f17ddf
[partition] When format is selected, clear out existing jobs
...
When editing a partition multiple times, do not leave
jobs from previous edits around. Apply fresh jobs each time.
2024-02-17 23:49:13 +01:00
Adriaan de Groot
2ea5a2b5d5
[partition] Set radio buttons conistently
...
Put the setChecked() calls together so that it is obvious
that only one is checked. *Keep* button is the inverse of
*Format* now. Previously, it used only the not-ZFS value,
and so would override the value obtained from the partition's
*format* setting.
2024-02-17 22:47:19 +01:00
Adriaan de Groot
3881737bbd
[partition] Set intent while creating FS-labeling job
2024-02-17 17:55:34 +01:00
Adriaan de Groot
23d203b00b
[partition] Set label intentions for filesystems
...
FIXES #1992
2024-02-17 17:37:02 +01:00
Adriaan de Groot
fc2bb1ede0
[partition] Add a helper for intended FS labels
...
The KPMCore partition label returns what **is**, not
what is intended. While here, fix some typo's in comments.
2024-02-17 17:37:02 +01:00
Adriaan de Groot
d5f32be5e3
[partition] Repair enable/disable status of FS label
...
The entry field was always enabled, but the label of the
FS-label entry field depended on the format button.
2024-02-17 17:03:27 +01:00
Adriaan de Groot
f23b4ff267
[partition] Preserve the will-it-be-formatted flag of the partition
2024-02-17 16:17:46 +01:00
Adriaan de Groot
ecd8839ac9
[partition] Set up label checkbox later
...
If the update-fs-label checkbox and drop-down depend on the
state of the format button, then set that up only once we're
done deciding on the format button.
2024-02-17 14:26:39 +01:00
Adriaan de Groot
a2b21ee087
[partition] Improve readability in edit-existing-partition
...
Pick out the condition and give it a name. The logic is the
same -- and is made worse because of the if() which looks
redundant at this point.
2024-02-17 14:18:24 +01:00
Lukas Märdian
562cae387c
networkcfg: Configure NetworkManager to be the default renderer
...
When Netplan is installed in the target system:
In case NM is not yet set to be the default Netplan renderer (e.g. through a
/usr/lib/netplan/00-network-manager-all.yaml file shipped by an installed
package), create the /etc/netplan/01-network-manager-all.yaml configuration
and copy over all other Netplan configuration from the installer system.
2024-02-13 16:13:31 +01:00
Adriaan de Groot
f5e09cd676
[partition] Write out translation context
...
lupdate isn't smart enough to pick up `context` when it's
a variable, and then the whole string is not found for
translation.
2024-02-12 21:30:52 +01:00
Adriaan de Groot
f8448e3c97
[partition] Clarify documentation of static functions
2024-02-12 21:28:15 +01:00
dalto8
11522fa44e
Merge pull request #2280 from ArrayBolt3/calamares
...
[partition] Allow specifying unencrypted partitions when encryption is used
2024-02-08 19:58:52 +00:00
Tj
1d996d1f9a
fstab: do not overwrite partition["mountPoint"]
...
When using BTRFS multiple subvolumes exist and whilst iterating them the
partition["mountPoint"] is inadvertently changed due to taking a
reference rather than a copy.
Closes: issue #2281
2024-02-07 16:21:24 +00:00
Aaron Rainbolt
546bedef11
[partition] Allow specifying unencrypted partitions when encryption is used
2024-02-05 19:24:05 -06:00
Adriaan de Groot
fd2610c739
[*] Remove pre-Qt-5.15 compatibility ifdefs
2024-02-04 22:06:51 +01:00
Adriaan de Groot
881347b9c2
[locale,packagechooser] (Auto-)Tests should not require GUI
2024-01-15 00:14:56 +01:00
Adriaan de Groot
d38a48e900
[packagechooser] Make AppData and AppStream optional default OFF
...
If set to *ON*, then the dependencies for these two are required
(e.g. QtXml and/or AppStreamQt).
2024-01-02 22:40:10 +01:00
Adriaan de Groot
062171a2f0
[packagechooser] Use the found-directory for AppStream headers
2024-01-01 21:45:48 +01:00
Adriaan de Groot
8a199aaaf9
[packagechooser] Split out helper for AppStreamQt
...
- add a CMake helper for finding variations of AppStreamQt
- adapt packagechooser and packagechooserq
- adopt a slightly more modern CMake style here
2023-12-31 01:07:08 +01:00
Adriaan de Groot
fa2b96e9cc
[partition] Fix build
2023-12-30 20:55:04 +01:00
Adriaan de Groot
7971bff2da
Merge pull request #2106 from Sunderland93/gtkgreet-css-config
...
greetd: Add custom CSS file path to gtkgreet
2023-12-30 20:45:40 +01:00
Adriaan de Groot
6cbed0f458
[partition] Remove extra-extra context string
2023-12-30 19:27:16 +01:00
Adriaan de Groot
e326758900
[partition] Massage types of job messages
2023-12-30 19:23:52 +01:00
Adriaan de Groot
ee09fd6613
[partition] Tidy up strings in flag job messages
...
- the prettyName() function returns names, labels. Use @title context.
- the prettyDescription() is for the summary page. Use @info context.
- the prettyStatus() is for status during installation. Use @status context.
While here, tighten up the wording some.
2023-12-30 17:42:16 +01:00
Emir SARI
1401f4ff21
Improve context
2023-12-28 00:07:31 +03:00
Adriaan de Groot
040f424931
[locale] Tweak string to avoid lupdate inserting {1?}
2023-12-27 00:53:26 +01:00
Adriaan de Groot
93ce2daff0
[machineid] Drop namespace to avoid lupdate warnings
2023-12-27 00:41:03 +01:00
Adriaan de Groot
0ac170c3de
[summary] Split out classes to help lupdate
...
One QObject-based class per source file helps lupdate
figure out what goes where, avoids warning about unknown
class / namespace ::Config.
2023-12-27 00:28:26 +01:00
Adriaan de Groot
115f00f5cd
[libcalamares] Rename tr() functions to avoid confusing lupdate
2023-12-25 14:24:06 +01:00
Adriaan de Groot
1d8a197242
[partition] Repair test
...
Was picking up settings stored from a previous test,
leading to a spurious failure.
2023-12-12 00:04:06 +01:00
Adriaan de Groot
8e5fbef390
[users] Repair test of now-removed "nonempty" option
2023-12-11 22:55:36 +01:00
Adriaan de Groot
558f045b65
Merge pull request #2252 from calamares/issue-2225
...
Add support for systemd-machine-id variations
2023-12-11 22:18:03 +01:00
Neal Gompa
5f897468ef
[mount] Set btrfs compression default to zstd:1 to match comment default
...
The comment and examples above the mountOptions already indicate
zstd:1 for compression. Empirically, this has proven out to be a
reasonable default choice and should be actually used in the default
configuration.
2023-12-09 17:45:55 -05:00
Neal Gompa
84e66f8512
[mount] Drop noatime for baseline and btrfs defaults
...
The usage of noatime has subtle negative impacts on the system,
including breaking various utilities that rely on that information.
If a user or distribution explicitly chooses this, then they
acknowledge this problem and account for it, but it should not be
an uninformed default.
It's left in place for swap because it does not matter there and
likely reduces thrashing for swap files.
2023-12-09 17:45:40 -05:00
Adriaan de Groot
acd0875f1d
[users] Use more-modern CMake constructs
2023-12-09 00:59:26 +01:00
Adriaan de Groot
b2d9b20edc
Merge pull request #2248 from EbonJaeger/add-crypt-gensalt-support
...
users: Add support for crypt_gensalt for user passwords
2023-12-09 00:25:43 +01:00
Adriaan de Groot
1b37eb1262
[machineid] Read systemd-style from config
2023-12-09 00:08:38 +01:00
Adriaan de Groot
89348910c3
[machineid] Document aliases (not visible in schema)
2023-12-09 00:08:19 +01:00
Adriaan de Groot
2f740564c6
[machineid] Run systemd-machine-id in host, telling it to modify target
2023-12-08 23:37:48 +01:00
Adriaan de Groot
e04e0260c9
[machineid] Apply coding style
2023-12-08 23:15:32 +01:00
Adriaan de Groot
e5ee28329d
[machineid] Handle different settings of systemd-style
2023-12-08 22:43:00 +01:00
Adriaan de Groot
0eb387d6de
[machineid] Default to running systemd-machine-id
2023-12-08 22:26:32 +01:00
Aaron Rainbolt
7e6ac140c4
[grubcfg] Write config keys even if they don't already exist
2023-12-01 15:46:36 -06:00
Adriaan de Groot
d2214b8d2e
[users] Document retirement of 'nonempty'
2023-12-01 18:15:00 +01:00
Adriaan de Groot
4e3de90cd0
[users] Document password settings
2023-12-01 18:01:58 +01:00