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
Adriaan de Groot
0d11de4525
[libcalamares] Add missing parameter name
2023-12-08 22:04:46 +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
Adriaan de Groot
4262d9f051
[users] Expand documentation of the settings
2023-11-29 21:55:20 +01:00
dalto8
e8d0fa140a
Merge pull request #2249 from EbonJaeger/add-clr-boot-manager-support
...
bootloader: Add clr-boot-manager support
2023-11-28 18:51:21 +00:00
Evan Maddock
1b07de6fa7
Apply suggestions from code review
...
Co-authored-by: Adriaan de Groot <groot@kde.org>
2023-11-27 19:02:50 -05:00
dalto8
63ce03680b
Merge pull request #2246 from fhdk/initcpiocfg-bash-array-update
...
[initcpiocfg] use f-string - use new style bash array (issue #2243 )
2023-11-27 18:22:38 +00:00
Evan Maddock
7a4d03e2c1
bootloader: Write all kernel params to the kernel cmdline file for CBM
...
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
2023-11-27 10:47:51 -05:00
Evan Maddock
e13dbc621a
bootloader: Add clr-boot-manager support
...
This adds support for Clear Boot Manager to handle the bootloader installation and configuration.
When this option is selected in the bootloader.conf, clr-boot-manager will be used to install the bootloader (systemd-boot on EFI systems). If the system is non-EFI, Grub must be installed first, because clr-boot-manager doesn't do that, despite it running grub_mkconfig after.
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
2023-11-26 17:27:57 -05:00
Evan Maddock
559d19018c
users: Add support for crypt_gensalt for user passwords
...
This attempts to locate the presense of the crypt_gensalt function in the crypto library in use. Many distributions have switched to libxcrypt, which provides this function. This means that Calamares can use the native library implementation instead of generating password salts itself, which, depending on the distro's configuration, may be more secure.
If the function can not be found, fallback to the current method of generating password salts.
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
2023-11-26 16:54:07 -05:00
Adriaan de Groot
7a9a50d702
[libcalamares] AutoMount / kded6 has been tested by KaOS
2023-11-26 21:53:04 +01:00
Frede Hundewadt
98d534d5dd
[initcpiocfg] use f-string - use new style bash array (issue #2243 )
2023-11-26 14:57:19 +01:00
Adriaan de Groot
01e7cf44c2
[libcalamares] Placeholder for KF6 automount DBus calls
2023-11-21 15:22:09 +01:00
Adriaan de Groot
8748a52c68
[keyboard] Add explanatory translation comment
2023-11-20 20:31:58 +01:00
demmm
0e2fa42b60
[CMake] use KPMCore version to select Qt6
...
with 2588d1e796
KPMCore is Qt6 only, so any version from 24.01.75 on is Qt6, no need to check for Qt version this way
add missing NO_CONFIG to summaryq
2023-11-19 15:40:29 +01:00
Adriaan de Groot
146f549552
[libcalamares] Return None for empty GS keys
...
All unknown-variants return None, but this only
happens in practice with an empty variant (e.g.
a configuration key that is empty in the YAML).
FIXES #2237
2023-11-16 23:17:33 +01:00
Adriaan de Groot
8305b6cb1a
[dummypython] Demonstrator for #2237
2023-11-16 23:10:53 +01:00
demmm
de85a02f74
[partition] make the tests also build with Qt6
2023-11-15 14:19:15 +01:00
Adriaan de Groot
8868ae956a
[partition] Repair comparison
2023-11-14 13:50:08 +01:00
Adriaan de Groot
12413ad9e8
[partition] Add test demonstrating size edge-case
2023-11-13 21:32:05 +01:00
Adriaan de Groot
5c0b20d06a
[partition] Enforce minimum <= recommended.
2023-11-13 21:28:10 +01:00
Adriaan de Groot
2ab0041180
[localeq] Repair translation-related typo
...
This would lead to a runtime error when loading the QML.
2023-11-13 20:10:52 +01:00
Adriaan de Groot
6b1226d5ea
Merge pull request #2206 from geckolinux/patch-1
...
Correct the comment description of the "Replace" partition behavior
2023-11-13 19:18:00 +01:00
Adriaan de Groot
eb77b208f8
Merge pull request #2226 from bitigchi/strings
...
Improve string formatting and context
2023-11-13 19:17:12 +01:00
Adriaan de Groot
1e1e12fad2
Merge branch 'issue-2018' into calamares
...
FIXES #2018
2023-11-13 00:47:31 +01:00
Adriaan de Groot
196dd55784
[partition] Test mixed-with-overlap settings
2023-11-13 00:40:58 +01:00
Adriaan de Groot
3e758d2d5c
[partition] Extend test, fix bug indicated by test
...
Copy-paste-o, was using wrong string value for minimum size,
found by failing unit test.
2023-11-13 00:37:03 +01:00
Adriaan de Groot
45c11135b8
[partition] Extend tests with more config examples
2023-11-13 00:31:18 +01:00
Adriaan de Groot
d9aeb88275
[libcalamares] Add a clear() to GlobalStorage
...
While this isn't useful in production, it makes tests a lot
simpler to write since you don't have to wrestle with
creating new GS objects in order to start fresh.
2023-11-12 22:41:02 +01:00
Adriaan de Groot
f07e31de29
[partition] Test for basic legacy configuration
2023-11-12 22:28:27 +01:00
Adriaan de Groot
13acdace42
[partition] Start of tests for config
2023-11-11 23:46:00 +01:00
Emir SARI
37178b2273
Improve context
2023-11-10 13:34:01 +03:00
Adriaan de Groot
85350e63ef
[partition] Put EFI settings in a sub-map
2023-11-09 23:31:17 +01:00
Adriaan de Groot
eb08c3facd
[partition] Use API for consistent EFI-size GS key
...
While here, remove the textual entry in GS, which was unused.
2023-11-09 22:29:33 +01:00
Adriaan de Groot
449fba03be
[partition] Factor out GS keys for EFI-size sharing
2023-11-09 22:17:51 +01:00
Adriaan de Groot
b06afd9074
[partition] Read minimum EFI size from GS
2023-11-09 22:06:12 +01:00
Adriaan de Groot
b72508546c
[partition] Simplify variables for error messages
2023-11-09 21:57:55 +01:00
Adriaan de Groot
6e9dac3417
libcalamares: apply coding style
2023-11-07 23:43:09 +01:00
Adriaan de Groot
c506808d72
partition: factor out 32_MiB constant
2023-11-07 23:41:10 +01:00
Adriaan de Groot
d0ae922439
partition: introduce accessor for minimum-size EFI
2023-11-07 23:37:31 +01:00
Adriaan de Groot
45529ebdc1
partition: rename API to emphasize recommended and strict-minimum
2023-11-07 23:30:56 +01:00
Adriaan de Groot
bc45f57b48
partition: introduce more settings for EFI size
2023-11-07 22:46:39 +01:00
Adriaan de Groot
1051033324
libcalamares: create Python module libcalamares by hand
...
From inside Calamares, register libcalamares to the
interpreter by hand; from external Python processes
the regular extension library hooks are called.
Tested by running ./build/localmodule dummypython
(which means that the shared library is not present
in the current directory, so then `import libcalamares`
fails if the module is not already registered --
a test scenario that previous attempt at module
import missed).
2023-11-07 21:42:05 +01:00
Adriaan de Groot
a629e2650a
libcalamares: importing the embedded python module can fail
2023-11-07 13:40:10 +01:00