Adriaan de Groot
af813ac95b
[fstab] Don't import (unused) subprocess
2022-05-24 16:51:36 +02:00
Adriaan de Groot
bb395db9f4
Merge branch 'release-3.2.58.2' into calamares
2022-05-24 16:48:05 +02:00
Adriaan de Groot
ff7ceb2e2b
[fstab] Replace two-step attribute-setting with one step
2022-05-24 15:56:34 +02:00
Adriaan de Groot
f4e5e08aa8
[fstab] Be more careful in setting up btrfs swap
...
- do not use subprocess module in Python bits,
- do +C (no-CoW) after turning compression off
2022-05-24 15:18:50 +02:00
abalfoort
63ee982d36
[fstab] Configure tmp on tmpfs
...
Adds a new option / configuration keys to `fstab.conf` to
configure how /tmp is created. The example shows how /tmp
is made *tmpfs* on an SSD, or on not-SSD, is just-a-directory.
FIXES #1818
2022-05-24 13:26:07 +02:00
abalfoort
4e5078c950
[fstab] Fix unencrypted root check
...
There are more ways (than not having a keyfile) for the root
partition to be unencrypted. Check it based on the settings
in the partition data.
2022-05-24 13:25:28 +02:00
abalfoort
badb1d4706
[luksbootkeyfile] Handle key-slots-are-full
2022-05-24 13:07:17 +02:00
Adriaan de Groot
fd53c090f4
[partition] Massage coding style
...
- some long-missing (unrelated to recent PR) braces
- remove some redundant comments
2022-05-24 12:58:02 +02:00
Adriaan de Groot
6de880c95d
[partition] No need for temporary variable
2022-05-24 12:58:02 +02:00
Adriaan de Groot
de03a92a8f
[partition] Move LUKS helpers code-documentation
2022-05-24 12:58:02 +02:00
abalfoort
2a7cbd2520
[partition] update LuksDevice to savePassphrase and enum
2022-05-24 12:58:02 +02:00
Adriaan de Groot
7e4fc3e4c7
[welcome] Use about-message from Config
...
- for QML, this is the easiest way to factor out the message
(no convenient access to free functions, unless I bung the
message into e.g. Branding where I don't think it fits
very well).
2022-05-23 17:11:45 +02:00
Adriaan de Groot
f9f18e5d3b
[welcome] Use welcome message from Config object
2022-05-23 17:00:56 +02:00
Adriaan de Groot
4a852facb3
[welcome] Use generated about string
2022-05-23 16:57:51 +02:00
Adriaan de Groot
09255a1d9c
[libcalamares] Add a more extensible About message
...
- make the years easier to update without annoying translators
- make the maintainers extensible.
2022-05-23 16:45:23 +02:00
Adriaan de Groot
f8345a09a2
[netinstall] Add disambiguation to labels
2022-05-23 15:41:45 +02:00
Adriaan de Groot
cc7fe7fff7
[users] Adjust failure expectations (today, for an openSUSE development host)
2022-05-20 22:50:23 +02:00
Adriaan de Groot
0a4e6804c6
[partition] Move encryption state-calculation to state()
...
Previously, state() just returned a stored state, which changed
via updateState(). However, when updateState() started taking
visibility-of-the-widget into account, it became possible to
de-sync the *apparent* state of the encryption widget, from the
stored one:
- make an encryption widget, which is not visible
- show it.
Now the stored-state takes visibility into account that is
different (hidden, so we end up with a state of Unconfirmed)
from the apparent value (shown and unchecked).
Move the calculation to state() instead, so whenever queried,
it checks the current checks-and-visibility values. Restore
the previously-reverted bit for accepting LUKS partitions.
SEE #1935
SEE #1953
2022-05-20 18:10:24 +02:00
Adriaan de Groot
900700b9bc
[partition] Partial revert reuse-luks merge
...
- a hidden checkbox should not be handled the same as a checkbox
that is checked; if there is a setting that can be checked or
unchecked, it can only be checked when visible.
FIXES #1953
2022-05-20 13:49:32 +02:00
Adriaan de Groot
e7f6ead038
[partition] When changing encryption-widget visibility, re-check next
2022-05-20 12:02:25 +02:00
Adriaan de Groot
51e3ac0ded
[partition] Polish up debugging when checking for next-enabled
...
- Improve the messages a bit
- Remove useless variable (it is checking that the switch(choice)
statement covers all the cases; let's leave that to the compiler)
2022-05-20 11:56:08 +02:00
Adriaan de Groot
17814410e9
[users] always-forbidden-names should be set in the Config constructor
2022-05-18 14:40:35 +02:00
Adriaan de Groot
cebafcf869
[users] Make test more expressive
2022-05-18 14:37:02 +02:00
Adriaan de Groot
7d5a4eafa2
[partition] Support KPMCore3 API (no testPassphrase in FS::luks)
2022-05-18 14:06:00 +02:00
Adriaan de Groot
874a0c1f38
CI: apply coding style globally again
2022-05-18 12:44:55 +02:00
Adriaan de Groot
8fea6f71ab
[partition] Apply coding style
2022-05-18 12:26:19 +02:00
Adriaan de Groot
62f3055e5a
[netinstall] Implement a special "blank" item
...
- If the name of an item is empty, treat it as a
"separator line", do not paint it like a regular
item. The branches of the tree just pass it by.
2022-05-18 00:25:04 +02:00
Adriaan de Groot
9e2728bcb7
[netinstall] Polish up SPDX headers
2022-05-17 14:40:36 +02:00
Adriaan de Groot
6bf710bed3
[netinstall] Introduce a custom class for the Tree Widget
2022-05-17 14:38:44 +02:00
Adriaan de Groot
9d6bb2ee2a
Merge pull request #1952 from abalfoort/#1935
...
#1935 - Reuse luks partitions
2022-05-17 10:35:51 +02:00
Adriaan de Groot
a63c474d93
Merge pull request #1948 from dalto8/zfsencryption
...
[partition] Don't offer whole disk encryption when zfs is selected
2022-05-17 10:31:48 +02:00
abalfoort
f67df577db
Fix compilation warning
2022-05-16 15:08:11 +02:00
abalfoort
25a6a5ee53
Fix crypttab
2022-05-16 15:06:59 +02:00
abalfoort
cd4b8d4179
Reuse luks partitions
2022-05-16 15:06:33 +02:00
dalto
31c8123677
[partition] Remove no longer needed setChecked() in the encryption widget
2022-05-14 10:38:27 -05:00
Adriaan de Groot
d318778f53
Merge pull request #1949 from dalto8/removeemits
...
Remove unneeded emits
2022-05-14 17:24:48 +02:00
dalto
152f99fb07
Remove useless emits
2022-05-13 17:24:07 -05:00
dalto
42841a217c
[partition] Don't offer whole disk encryption when zfs is selected
2022-05-13 16:24:15 -05:00
demmm
7937cd625d
[localeq]Map.qml needed fixes
...
esri has several bugs, not showing for all locations, zooming on Americas broken
use osm as default, set preferred, so esri can be fallback
remove Label section for mouse movement, showing coordinates not really useful,
issue with mouse grabbing is back with it
2022-05-13 13:17:19 +02:00
Adriaan de Groot
d0db56e964
[users] Simplify code: use contains() instead of a for-loop
2022-05-09 14:58:46 +02:00
Adriaan de Groot
ef9bf2650c
[users] Allow a configurable list of forbidden names
...
- forbidden login names
- forbidden host names
2022-05-09 14:51:13 +02:00
Adriaan de Groot
7473462125
[users] Introduce forbidden_names settings
2022-05-09 14:51:13 +02:00
Adriaan de Groot
40c5ef1c35
[users] Add new structured setting to example file
2022-05-09 14:33:39 +02:00
Adriaan de Groot
fe04ae3ac1
[users] Introduce new structure for users-settings
2022-05-09 14:33:39 +02:00
Adriaan de Groot
1bf5206bd7
[users] Apply code-style to test-code
2022-05-09 14:33:39 +02:00
Adriaan de Groot
3bc3b352d8
[displaymanager] Add LF after last line of greetd configuration
...
FIXES #1937
2022-05-06 11:47:44 +02:00
Adriaan de Groot
091eb9683b
[libcalamares] Give Occitan a native name
2022-05-05 15:23:54 +02:00
Adriaan de Groot
4be25e2f70
[libcalamares] Special-case the regions through the lookup-table as well
2022-05-05 15:20:29 +02:00
Adriaan de Groot
2de7736291
[libcalamares] Replace locale special-cases by a table
...
Replace the function with a table-driven approach,
since that is somewhat easier to extend to more
languages.
2022-05-05 14:42:12 +02:00
Lt-Henry
a8857e51f4
Improving special-case language detection
2022-05-05 11:12:29 +02:00