2776 Commits (264ab7438cb0345e1227a2263ef8596ec341c0af)
 

Author SHA1 Message Date
shainer 349470ae71 Check mountpoints when editing a partition too. 8 years ago
shainer 8c1199df2d Check first selection of mountpoint too.
When opening the dialog.
8 years ago
shainer f51b05e8aa Get the mountpoint from PartitionInfo.
The Partition object includes the root mountpoint in
the partition mountpoint, which is not what we want.
8 years ago
shainer c8dbeb5341 Avoid creating a new partition with a used mountpoint.
We get the mountpoints already used by other partitions, and
disable the Ok button in the "Create new partition" dialog if
the user selects/writes a mountpoint which is already used.

We are going to do the same in the Edit partition dialog
after testing.
8 years ago
Kevin Kofler 34516e9477 [dracutlukscfg] Don't include keyfile in initramfs on unencrypted /boot.
This matches the fix in initcpiocfg and initramfscfg.
8 years ago
Kevin Kofler d9840feef9 [initramfscfg] Don't include keyfile in initramfs on unencrypted /boot.
This matches the fix in initcpiocfg.

I had to create an encrypt_hook_nokey that is a copy of encrypt_hook
without the part that copies the keyfile.
8 years ago
Calamares CI 290f3511fe Automatic merge of Transifex translations 8 years ago
Teo Mrnjavac 83b51a5867 Show warning. 8 years ago
Teo Mrnjavac 17fe2d82f4 Oops. 8 years ago
Teo Mrnjavac a55bef5d2d Warn user about encrypted root with unencrypted /boot. 8 years ago
Teo Mrnjavac 79b0889db7 Don't include keyfile in initramfs on unencrypted /boot. 8 years ago
Calamares CI ab361c2a81 Automatic merge of Transifex translations 8 years ago
Calamares CI b099343cfe Automatic merge of Transifex translations 8 years ago
Calamares CI 13832fcbb6 Automatic merge of Transifex translations 8 years ago
Calamares CI 9a39fc2a18 Automatic merge of Transifex translations 8 years ago
Philip Müller 7c34056f57 Merge pull request #274 from highvoltage/master
Fix spelling mistake and add .desktop file keywords
8 years ago
Lisa 1ab943a0f0 Merge pull request #273 from shainer/master
Non-critical package groups in netinstall module
8 years ago
shainer e5f5bb99d7 Change the default value of critical to false.
This means all package groups are non-critical by default.
Update documentation accordingly.
8 years ago
Kevin Kofler 5dd6676602 Bump version to 2.4.80.
We need master to have a higher version than the stable branch. I used
2.4.80 so that it can be bumped again to 2.4.90 when starting to do
alpha/beta/RC releases.
8 years ago
shainer b6d6075213 New example netinstall.yaml, less groups for easier testing. 8 years ago
Kevin Kofler d6e0e09bc1 Bump version to 2.4.80.
We need master to have a higher version than the stable branch. I used
2.4.80 so that it can be bumped again to 2.4.90 when starting to do
alpha/beta/RC releases.
8 years ago
shainer 5fadd0a3ce New example netinstall.yaml with non-critical group. 8 years ago
shainer 58ae8e13c9 Add support for non-critical groups in netinstall.
Package groups are divided into critical and non-critical
depending on whether we want all Calamares to fail if installing
a package in the group fails, or we are okay with just logging a
warning.

The distinction is configured in the YAML file listing the package
groups. By default, all groups are critical, to keep supporting
the previous behaviour.
8 years ago
Teo Mrnjavac a9d8107b3b Write Btrfs subvolume lines to fstab. 8 years ago
Teo Mrnjavac e9ecb64a36 Special case for Btrfs root: create subvolumes and mount them. 8 years ago
Philip e8f694fe02 [partition] Bump kpmcore requirements 8 years ago
Teo Mrnjavac 93cf5acea4 Bind-mount /run/udev in the chroot by default.
NOTE: this is absolutely necessary for grub-mkconfig's os-prober
instance to work.
8 years ago
Calamares CI 956e519453 Automatic merge of Transifex translations 8 years ago
Kevin Kofler 4f11faea52 [bootloader] Fix UEFI firmware workaround for 32-bit UEFI.
On 32-bit UEFI (note that the bitness of the firmware is what matters
here, not the bitness of the distribution), instead of copying
grubx64.efi to bootx64.efi, copy grubia32.efi to bootia32.efi.

Patch by TeHMoroS from SparkyLinux.

CAL-403 #close
8 years ago
Calamares CI 003dcac96c Automatic merge of Transifex translations 8 years ago
Kevin Kofler f08739cd15 [welcome] Use QNetworkAccessManager in checkHasInternet.
Use QNetworkAccessManager instead of raw QtDBus queries to
NetworkManager in RequirementsChecker::checkHasInternet(). This is much
simpler (i.e., less error-prone) and should be more portable (to, e.g.,
ConnMan).
8 years ago
Kevin Kofler 6eb512ab49 [welcome] Fix RequirementsChecker::checkHasInternet().
The NetworkManager property is called "State", not "state". The call
was always failing, and the method was always returning true as a
result.
8 years ago
Kevin Kofler 62bded1447 [bootloader] Fix vfat_correct_case.
If the directory already existed, vfat_correct_case was returning only
the last part rather than the full path as it is supposed to.
8 years ago
Kevin Kofler 0131d7fbf1 [unpackfs] Do not fail if rsync returns exit code 23.
Unfortunately, rsync returns exit code 23 (Partial transfer due to
error) if it cannot write extended attributes (with -X) because the
target file system does not support it, e.g., the FAT EFI system
partition. We need -X because distributions using file system
capabilities and/or SELinux require the extended attributes. But
distributions using SELinux may also have SELinux labels set on files
under /boot/efi, and rsync complains about those. The only clean way
would be to split the rsync into one with -X and --exclude /boot/efi and
a separate one without -X for /boot/efi, but only if /boot/efi is
actually an EFI system partition. For now, this hack will have to do.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=868755#c50
for the same issue in Anaconda, which uses a similar workaround.
8 years ago
Calamares CI ad89c679a3 Automatic merge of Transifex translations 8 years ago
Teo Mrnjavac c4df69b4a7 Allow try_install and try_remove entries in packages module. 8 years ago
Teo Mrnjavac b272917e83 Add option of updating packages db before perfoming package operations. 8 years ago
Rohan Garg d67fdccd4c Make sure we also set a preferred Xsession 8 years ago
Kevin Kofler 075577d948 [netinstall] Support selecting visible groups by default.
In other words, support:
  hidden: false
  selected: true
groups.

This was supposed to work according to README.md, but not actually
implemented. Now it should be working.
8 years ago
Calamares CI c09e7030db Automatic merge of Transifex translations 8 years ago
Calamares CI c239589ee5 Automatic merge of Transifex translations 8 years ago
Rohan Garg 662656a762
Better handling for when the Autologin section already has things 8 years ago
Rohan Garg f7ac1a3ede Use configparser to parse sddm.conf
Since sddm.conf follows the INI format we can use configparser
with a few added options to properly parse the config and write
it out instead of manually parsing each line which is slow and
prone to error.

For eg. The old code would fail to parse a conf which had no
commented out User key but where the user had configured autologin
in Calamares.
8 years ago
Calamares CI 4626a769a5 Automatic merge of Transifex translations 8 years ago
Calamares CI 5840ca34cd Automatic merge of Transifex translations 8 years ago
Kevin Kofler 5f782e9c5c README.md: sgdisk is no longer used. 8 years ago
Kevin Kofler 1548fe4810 [partition] Use FlagEsp instead of sgdisk to scan for ESPs.
Address an old FIXME in
PartitionCoreModule::scanForEfiSystemPartitions(): Check the FlagEsp on
the Partition object (that KPMcore has been supporting since 2.1.0)
instead of running sgdisk.
8 years ago
Kevin Kofler 5377003f89 Set the ESP flag in partition rather than bootloader.
The manual partitioning setup was already requiring the user to check
the ESP flag for the EFI System Partition. Now the autopartitioning also
sets it directly (a one-line change). The sgdisk call in the bootloader
module is thus no longer necessary (it was only a workaround because
kpmcore < 2.1.0 did not support FlagEsp), so remove that snippet.

This fixes configurations such as NVME disks where splitting boot_device
into boot_device[-1:] and boot_device[:-1] is not the correct split
(because the partition gets a 2-letter suffix) (reported by demmm on
IRC).
8 years ago
Teo Mrnjavac 4488761a63 Only add LUKS keyfile if relevant, and with a 15s timeout. 8 years ago
Teo Mrnjavac fbe72b3663 Improve user-visible strings in SetPartFlagsJob. 8 years ago