- Feb 13, 2025
-
-
Adriaan de Groot authored
-
- Dec 02, 2024
-
-
Adriaan de Groot authored
In Qt 6.6, qAsConst is deprecated; since Calamares is C++17 we have had a standard solution always.
-
- Feb 17, 2024
-
-
Adriaan de Groot authored
When editing a partition multiple times, do not leave jobs from previous edits around. Apply fresh jobs each time.
-
Adriaan de Groot authored
-
- Oct 17, 2023
-
-
Adriaan de Groot authored
-
- Sep 10, 2023
-
-
Adriaan de Groot authored
-
- Sep 07, 2023
-
-
demmm authored
make kpmcorehelper usable for both kf5 & 6, though no section added yet dealing with set to NOT for Qt6 adjust CalamaresConfig to not be hardcoded to kf5 one more var needed in Variant.h, used in PartitionInfo.cpp adjust QVariant & QtConcurrent use
-
- Nov 05, 2022
-
-
Adriaan de Groot authored
-
Adriaan de Groot authored
In the innermost APIs, use the enum value rather than passing strings around.
-
- Sep 10, 2022
-
-
Jeremy Attali authored
This commit adds support for LUKS2 behind a new `partition.conf` key: `luksGeneration`. A bit of context, LUKS2 is the default encryption operating mode since cryptsetup >= 2.1.0 (See [Arch wiki](https://wiki.archlinux.org/title/dm-crypt/Device_encryption#Encryption_options_with_dm-crypt). It is considered more secured and allows additional extensions. It also comes with Argon2id as the default Password Based Key Derivation Function (`--pbkdf` option). So it's important to provide this as an option for Calamares in order to make Linux installs more secure, for those who wish to encrypt their system. This commit was tested on a custom Manjaro installer with: - grub bootloader with the [argon patches](https://aur.archlinux.org/packages/grub-improved-luks2-git). - [rEFInd](https://wiki.archlinux.org/title/REFInd) bootloader with unencrypted `/boot` partition because rEFInd [doesn't support booting from an encrypted volume](https://sourceforge.net/p/refind/discussion/general/thread/400418ac/) **Important consideration for distribution maintainers**: - You need to have compile flag `WITH_KPMCORE4API` on - If you are shipping with grub by default please note that you need to ship it with the Argon patches. Example on Arch Linux: [grub-improved-luks2-git](https://aur.archlinux.org/packages/grub-improved-luks2-git) - If `luksGeneration` is not found in partition.conf, it will default to luks1 - Please test this on your own distribution as this was only tested on Manjaro installer (see above).
-
- Mar 21, 2022
-
-
Adriaan de Groot authored
-
- Mar 18, 2022
-
-
Adriaan de Groot authored
-
- Mar 14, 2022
-
-
Adriaan de Groot authored
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.
-
Santosh Mahto authored
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>
-
- Feb 21, 2022
-
-
Adriaan de Groot authored
Don't do the actual KPM work, but pretend that they were done. This can be useful -- independently of the existing unsafe- options and failing partitioning entirely -- for testing partition layouts in modules following the *partition* one.
-
Adriaan de Groot authored
- unsafe partitioning will bail out (and end the installation) if BAIL_OUT is set (previously _LAME).
-
- Feb 08, 2022
-
-
Adriaan de Groot authored
-
- Feb 01, 2022
-
-
Adriaan de Groot authored
This applies the new(er) style to the whole module, rather than just the files that recently changed.
-
- Nov 16, 2021
-
-
Adriaan de Groot authored
- log device node (/dev/sdb) instead of its name - don't log job's prettyName() because that's translated, and also contains user-visible private names (introducing a non-translated, nicely redacted version of prettyName() seems like too much effort for something that can be reconstructed from bits earlier in the log)
-
Adriaan de Groot authored
- use hex-trailer - while here, convert DebugRow to use a copy rather than a reference, to avoid dangling references when applied to temporaries - convert *partition* module to use the RedactedNames
-
Adriaan de Groot authored
-
- Nov 02, 2021
-
-
Adriaan de Groot authored
-
Adriaan de Groot authored
- when (manually) using an existing LV, it shouldn't be closed prior to formatting, since that kills the volume and then the path (/dev/myvg/mylv) no longer exists. Then creating the filesysytem on that device path fails.
-
Adriaan de Groot authored
-
- Jun 21, 2021
-
-
Adriaan de Groot authored
-
- Jun 18, 2021
-
-
Adriaan de Groot authored
-
Adriaan de Groot authored
-
- Jun 04, 2021
-
-
Adriaan de Groot authored
-
- May 25, 2021
-
-
Adriaan de Groot authored
Don't return the generic Abstract model for bootloader, but the subclass pointer, so that consumers can use the convenience API on the subclass.
-
- Mar 31, 2021
-
-
Artem Grinev authored
-
- Mar 29, 2021
-
-
Adriaan de Groot authored
- The entire queue is one long output, so print them with SubEntry
-
- Mar 27, 2021
-
-
Adriaan de Groot authored
-
shainer authored
In particular, we need a separate Job class to set the label; this is invoked after we formatted a partition, and when no other changes to the partition have been requested in the Edit dialog.
-
shainer authored
When creating or editing a new formatted partition, allow to set a filesystem label (16 chars maximum). Modify the KPMHelpers to accept it as a new parameter. Partitions created by default may get a meaningful label too.
-
- Feb 03, 2021
-
-
Adriaan de Groot authored
FIXES #1604 (Admittedly, this fixes the problem only when there's Plasma Solid automount present, and not any of the other kinds; but none of those have been reported yet, and adding them into AutoMount.cpp is opaque to the rest of the system)
-
- Nov 04, 2020
-
-
Adriaan de Groot authored
-
- Nov 02, 2020
-
-
Adriaan de Groot authored
- remove the m_defaultFSType from PartitionLayout, because it is set on construction -- which is too early, before the configuration has been read. - make the default FS explicit in the init() calls which pass in a configuration; this needs support in the intermediate PartitionCoreModule.
-
- Oct 30, 2020
-
-
Gaël PORTAY authored
-
Gaël PORTAY authored
- The logic of the method initLayout belongs to the object PartitionLayout. Move logic to that object. - Use a single method initLayout in object PartitionCoreModule. - Member m_partLayout in object PartitionCoreModule is no longer allocated.
-
- Oct 24, 2020
-
-
Adriaan de Groot authored
-