Commit Graph

8411 Commits

Author SHA1 Message Date
Adriaan de Groot
c14ffa08e2 [umount] Minor tweaks in wording and code 2024-09-08 06:52:56 -04:00
dalto
f38502d5ad [umount] Also unmount the root filesystem 2024-09-07 12:02:13 -05:00
Adriaan de Groot
cde6acd224 [keyboard] Send DBus signal to KWin for new keyboard layout 2024-09-07 11:20:33 -04:00
Adriaan de Groot
6498f9e0d1 [keyboard] Rewrite KWin config file 2024-09-07 10:50:35 -04:00
Adriaan de Groot
5414e51245 [keyboard] Add kwin-specific configuration flag
Running `kwin_wayland --locale1` makes KWin listen to locale1
for keyboard updates, but not everybody has that. Introduce a
KWin-specific configuration flag that will (re)write the
KWin configuration.
2024-09-07 09:25:45 -04:00
Adriaan de Groot
4fea2920d7 [keyboard] Rename functions, simplify logic
The timer can be connected to one slot, which just
checks what kinds of configuration are enabled.
Then update all the ones that make sense in a live system.
2024-09-07 06:57:07 -04:00
Adriaan de Groot
783881edaa [keyboard] Rename confusing overloaded function 2024-09-07 06:41:15 -04:00
Adriaan de Groot
dc3c08a012 [keyboard] Remove unnecessary inline 2024-09-07 06:41:15 -04:00
Adriaan de Groot
f0c8e02901 [keyboard] Remove misplaced <br/> from user-visible message 2024-09-06 14:32:20 +02:00
Adriaan de Groot
d72df37333 [locale] Fully replace message of timezone.
Since we need to break translations anyway (it was missing a "."),
do the right thing with the zone-name.
2024-09-06 14:24:15 +02:00
Adriaan de Groot
0ad97beed5 [locale] Use human-readable naming for messages 2024-09-06 13:57:15 +02:00
Adriaan de Groot
c51fa0e2f1 [libcalamares] Document the methods of TimeZone 2024-09-06 13:46:09 +02:00
Adriaan de Groot
7987cc5727 [partition] Repair test of partition layout
There are asserts in KPMCore that are triggered when
creating a partition with no (table) parent.
2024-08-13 22:00:50 +02:00
Adriaan de Groot
237e3f7066
Merge pull request #2357 from AnInternetTroll/user/luca/xbps-log
packages: add debug logging to xbps
2024-08-12 23:14:30 +02:00
Luca Matei Pintilie
19430fac56
packages: add debug logging to xbps 2024-07-28 15:34:04 +02:00
Adriaan de Groot
5f9b7890c3 [partition] Add a summary message about swapfile 2024-07-24 23:20:43 +02:00
Adriaan de Groot
51c39cdbee [partition] Improve jobDescriptions()
- make the dox match what the function does
- reduce calls to job->description()
2024-07-23 22:37:29 +02:00
Adriaan de Groot
3e885cda19 [libcalamares] Looks like Qt 6.7 supports Interlingue 2024-07-20 23:35:38 +02:00
Adriaan de Groot
3a6f604232 [netinstall] Remove unnecessary $id from schema
The base-URI of the schema is already set; references
that are relative and contain only a fragment (e.g. start with `#`)
resolve against the base-URI, so that's within this document.
Since we already have `definitions` as a key, `#/definitions`
references that sub-schema. We don't need the `$id` settings in
each sub-schema, which messes up the base-URI; it should have been
an `$anchor`, maybe, but isn't necessary after all.
2024-07-20 23:29:00 +02:00
Adriaan de Groot
13ccb51010 [initcpiocfg] Repair schema file 2024-07-20 22:45:00 +02:00
Adriaan de Groot
ec5272ad65 [libcalamares] Prepare for ie (Interlingue) support in Qt 2024-07-20 22:32:46 +02:00
Adriaan de Groot
456bb1b3eb [libcalamares] Mark CommandLine as public, expand API a little 2024-07-07 00:00:11 +02:00
Adriaan de Groot
80ef430185 [shellprocess] Expand example and repair test
- Adding another example command broke the test which checks
  the number of entries in the example script.
- Add a second line of output to the example command, so it makes
  more sense to log it line-by-line.
2024-07-03 23:05:30 +02:00
Adriaan de Groot
e08bd744a8 [users] Repair test after switch to yescrypt 2024-07-03 23:02:37 +02:00
Tj
bee487653a Adjust last usable sector for GPT 2024-07-02 22:54:54 +01:00
Adriaan de Groot
9800edf94e [partition] Translate bootloader location combo box
If you switch languages, and then go to the partition
page, and pick "manual", the combo-box entries would
not be translated until **after** you do something
(e.g. edit a partition).

Now they are re-translated when the language changes.
2024-07-02 23:35:54 +02:00
Adriaan de Groot
8aec50d185 [partition] Ensure bootloader path is saved after manual edit 2024-07-02 23:30:43 +02:00
Adriaan de Groot
e52b220a69 [partition] Repair translation of labels
There was an accumulation of connected slots when the
current device changed (CALAMARES_RETRANSLATE **adds** one).
Instead, extract the translated messages and carry the
necessary information (number of entries, and if just one,
its name) in the ChoicePage object.

Although you can't effectively change the translation /
current language while looking at the ChoicePage, it is
best to be future-proof.
2024-07-02 23:27:11 +02:00
Adriaan de Groot
6ded13a917 [partition] Simplify selectedDevice() 2024-07-02 23:27:11 +02:00
Adriaan de Groot
bf466e0ea4 Changes: document shellprocess verbosity.
FIXES #2155
2024-06-30 23:37:00 +02:00
Adriaan de Groot
98f26d9380 Merge branch 'issue-2155' into calamares 2024-06-30 23:23:46 +02:00
Adriaan de Groot
bbe015e732 [libcalamares] Command verbosity was lost during expansion 2024-06-30 18:05:54 +02:00
Adriaan de Groot
265469c9cd explain-verbose-test 2024-06-30 17:34:44 +02:00
Adriaan de Groot
e6de798228 [libcalamares] Add a test for command-timeout 2024-06-30 16:08:52 +02:00
Adriaan de Groot
8bb6c63931 [libcalamares] Avoid stray space when logging command-output 2024-06-30 16:08:52 +02:00
Adriaan de Groot
091c00e4ef [libcalamares] use test to demonstrate verbose CommandLine 2024-06-30 16:08:52 +02:00
Adriaan de Groot
6969a5e01d [libcalamares] log-as-you-go for verbose commands 2024-06-30 16:08:45 +02:00
Adriaan de Groot
4815bf6963 [libcalamares] Expand runCommand() inline for CommandLine
Since we want to hook up more to the runner, the simplified API
in System::runCommand() is not sufficient.
2024-06-30 15:10:05 +02:00
Lorenzo "Palinuro" Faletra
d75648f326
[users] Use yescrypt instead of sha512
Use yescrypt instead of sha512 when CRYPT_GENSALT is not used and the salt is manually determined.

yescrypt is the default key derivation function in almost every modern distro and grants higher levels of security.

https://www.openwall.com/yescrypt/
2024-06-28 12:55:25 +00:00
Adriaan de Groot
3bbfdef1ce [mount] Split overly-long one-liner 2024-06-25 16:01:42 +02:00
Adriaan de Groot
408cc5a5cf
Merge pull request #2341 from vlinkz/luksswapmount
Fix mounting encrypted swap partition
2024-06-25 15:50:07 +02:00
Adriaan de Groot
ea90ca4118 [partition] Avoid "shadowing" of fields by constructor parameters
Although the standard is clear about what this means, Clang
warns about it, so change names to avoid the warning (and make
it slightly easier to read).
2024-06-24 22:32:19 +02:00
Adriaan de Groot
4bba7ed893 [partition] Remove unused variable (it is shadowed a few lines later) 2024-06-24 22:26:18 +02:00
Adriaan de Groot
a5a602c20e
Merge pull request #2345 from calamares/fix-precheck-encryption
[partition] Fix crash on filesystem changes when encryption is checked
2024-06-24 20:04:08 +02:00
dalto
dbad8704f5 [partition] Fix crash on filesystem changes when encryption is checked 2024-06-23 14:39:29 -05:00
Adriaan de Groot
2756eb2573 [partition] Improve documentation of partition types a little 2024-06-23 18:26:32 +02:00
Adriaan de Groot
ea744a0c0c [partition] On FreeBSD, don't expect the KPMCore test to work 2024-06-20 19:48:47 +02:00
Adriaan de Groot
991be792c0 [rawfs] Do not mark tests on FreeBSD as "must fail" 2024-06-20 19:43:50 +02:00
Adriaan de Groot
3d4b408c93 [rawfs] Read blkid stdout only once, be more clear when there isn't a uuid 2024-06-20 19:38:48 +02:00
Adriaan de Groot
2e825167a3 [rawfs] Don't bother updating mount if this is a test (bogus) run
This improves things when running tests on FreeBSD, which doesn't
have a /proc/mounts to read.
2024-06-20 19:34:27 +02:00