Adriaan de Groot
3b0aa69ad3
[users] Write 127.0.1.1 entry only if there is a hostname
2022-04-11 11:39:14 +02:00
Adriaan de Groot
9299bedd7e
[users] Hostname is empty if it will not be set
2022-04-11 11:37:56 +02:00
Adriaan de Groot
a12c6de2ef
[users] Don't set GS hostname if hostname.location is None
2022-04-11 11:29:23 +02:00
Adriaan de Groot
c5c546d290
[users] Warnings-- about unreachable code
2022-04-11 11:13:45 +02:00
Adriaan de Groot
854c711ac6
[users] Untangle setting-hostname from writing-/etc/hosts
...
Exactly one kind of setting-hostname is done, and that's
entirely independent of writing /etc/hosts. Don't make it
a set of flags, use an enum and a bool.
2022-04-11 11:10:40 +02:00
Adriaan de Groot
6a6aa8867b
[users] hostname.X takes precedence over legacy settings
2022-04-11 10:49:16 +02:00
Adriaan de Groot
b653b13002
[users] Hide hostname box when set to None
...
If the hostname will not be written, hide the input box.
While here, improve some naming in the designer file.
2022-04-11 10:42:00 +02:00
Adriaan de Groot
99bf5497ca
[users] Document change to config, document TODO:3.3
2022-04-11 10:14:32 +02:00
Adriaan de Groot
8a8ac4fe2b
[users]: update config schema
2022-04-08 16:35:47 +02:00
Adriaan de Groot
4494a4b35a
[users] Expand tests with some legacy-settings
2022-04-08 11:30:57 +02:00
Adriaan de Groot
04f38ea661
[users] Put hostname settings in a *hostname* key
...
Move settings into a structured setting for *hostname*, with suitable
sub-keys. Legacy settings remain supported, produce a warning.
2022-04-08 11:30:57 +02:00
Adriaan de Groot
9e4b2d14cb
[libcalamares] Add a path parameter when creating descriptors
...
This allows us to print the path of a descriptor file in
error messages, which in turn makes it easier to find
problems with the descriptor files.
2022-03-28 12:29:47 +02:00
Adriaan de Groot
ec3282e15d
[libcalamares] Allow checking a Once object for repeat messages
2022-03-28 12:28:07 +02:00
Adriaan de Groot
db3160145e
Merge remote-tracking branch 'origin/issue-1904' into calamares
...
This is mostly a confirmation that the subsequent changes
to #1905 were correct; the "name" key set in a partition
configuration is applied to the partition.
FIXES #1904
2022-03-21 15:09:50 +01:00
Adriaan de Groot
6f28120401
[partition] Fix typo in example configuration
2022-03-21 14:16:54 +01:00
Adriaan de Groot
1ee82e390b
[users] Adjust test to expect root to succeed
2022-03-21 14:15:15 +01:00
Adriaan de Groot
88d392f612
[users] Explain why the second setting-hostname test succeeds.
2022-03-21 14:12:18 +01:00
Adriaan de Groot
9b651b4f00
[users] Don't mangle the hostname with a test
2022-03-21 14:08:17 +01:00
Adriaan de Groot
f4a10a313c
[partition] Address default-labeling issues
2022-03-18 14:35:35 +01:00
Adriaan de Groot
7d89643146
[partition] More const in getters
2022-03-18 14:30:31 +01:00
Adriaan de Groot
fa28999561
Merge pull request #1905 from santoshmahto7/santo/avoid-root-naming
...
Avoid setting rootfs partition name to "root" by default.
2022-03-18 13:51:33 +01:00
Decator
b2aa5d8dea
Added spaces and line-breaks to fix formatting.
...
Fixes a formatting issue by adding some spaces and a line-break. Increases readability
2022-03-15 10:43:10 -04:00
Adriaan de Groot
b44091b4e3
SPDX: tag forgotten files
2022-03-15 14:59:05 +01:00
Adriaan de Groot
05468016a1
Merge branch 'work/adridg/improve-log-window' into calamares
2022-03-15 14:45:34 +01:00
Adriaan de Groot
f0d4788e6d
[libcalamaresui] SPDX-tagging for Bob
2022-03-15 14:42:27 +01:00
Adriaan de Groot
28bf8478c4
[libcalamaresui] Simplify log-window
...
Scrolling explicitly to the bottom isn't needed; leaving it
up to appendPlainText() has the following behavior:
- if the text is scrolled all the way down, follows the text
and scrolls further down (tailing)
- if it is not scrolled all the way down, keeps current position.
2022-03-15 14:39:59 +01:00
Adriaan de Groot
d998c9e24b
[libcalamaresui] Try to improve 'tailing' experience
2022-03-15 14:02:24 +01:00
Adriaan de Groot
26a613fff1
Merge branch 'issue-1894' into calamares
...
FIXES #1894
2022-03-15 13:30:40 +01:00
Adriaan de Groot
1a3f41ff33
[libcalamaresui] Allow more options for icon
2022-03-15 12:45:19 +01:00
Adriaan de Groot
d5e0fca490
[libcalamaresui] Allow starting and stopping the log-follower.
2022-03-15 12:45:19 +01:00
Adriaan de Groot
87c8c3e6ee
[libcalamaresui] Convenience for 'give-me-one-of-these-icons'
2022-03-15 12:44:19 +01:00
Adriaan de Groot
20c44ff99a
[partition] Obtain flag name from KPMCore
...
- makes the displayed flag name consistent between dialog and
pop-up and debug-messages.
2022-03-14 16:45:56 +01:00
Adriaan de Groot
1a6fb1c3d2
[libcalamaresui] Polish on LogWidget
...
- apply coding style
- reduce shadowed variables
- use Q_EMIT to mark signals
2022-03-14 16:14:40 +01:00
Adriaan de Groot
d89955f4b3
Merge pull request #1899 from bobvanderlinden/pr-log
...
allow viewing live log during execution
2022-03-14 14:19:43 +01:00
Adriaan de Groot
f60def5ecc
[partition] Don't reinitialize partition layout
...
Existing code reinitialized the layout, losing whatever
layout was set in the config. Refactor so that you can
access the partition-layout API, and change the default
FS through that -- which is the point of the code block
here in `doAutopartition()`, to look up the currently-
selected default FS.
Inspired by Santosh's work in #1903 , #1759 .
2022-03-14 11:27:00 +01:00
Santosh Mahto
4b905d5b52
Avoid setting rootfs partition name to "root" by default.
...
By default, calamares renames the label of root partition
to "root" overriding the name specified in partiton.conf
Signed-off-by: Santosh Mahto <santosh.mahto@collabora.com>
2022-03-14 12:01:06 +05:30
dalto
b5faf1be9b
[fstab] Fix empty UUID detection
2022-03-12 15:47:54 -06:00
Bob van der Linden
ea061ae239
destruct LogThread correctly
2022-03-10 20:33:22 +01:00
Bob van der Linden
9e522eddf8
replace text widget with log widget
2022-03-10 20:08:13 +01:00
Bob van der Linden
923379def6
use terminal icon for log toggle button
2022-03-10 20:07:16 +01:00
Bob van der Linden
53d3fcb2fd
introduce widget that shows logs
2022-03-10 20:06:37 +01:00
Bob van der Linden
a6afb6be7c
add log widget to ExecutionViewStep
2022-03-06 12:33:06 +01:00
Adriaan de Groot
569db7c018
[packages] Disable pacman progress-reporting, it is crashy
2022-03-04 14:28:07 +01:00
Huang Jia Wen
dca5d9b52b
[bootloader] Add loongarch64 support for bootloader
2022-03-04 10:57:38 +01:00
Adriaan de Groot
7aafeec2cb
[libcalamares] Fix entry-format, it was totally bogus
2022-03-01 16:14:45 +01:00
Adriaan de Groot
2f782f18c4
[libcalamares] Fix file reading
...
- atEnd() doesn't behave as expected
- drop the textstream, not needed
- rename variables to be more descriptive
2022-03-01 16:13:25 +01:00
Adriaan de Groot
53c4bbe4e0
[umount] Log briefly what is going to be unmounted
2022-03-01 16:03:28 +01:00
Adriaan de Groot
4fe55533d7
[partition] Log in more human-readable form
2022-03-01 14:37:52 +01:00
Adriaan de Groot
60630efa6a
[partition] Log DBus calls and switch to blocking calls to ensure they happen
2022-03-01 14:03:04 +01:00
Adriaan de Groot
7e51731167
[partititon] Slightly better debug-logging for automount
2022-03-01 13:52:50 +01:00