summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set fs_type to '' for BIOS boot and Empty partitions.Martin Whitaker2017-02-251-0/+1
| | | | | This prevents misreporting of the partition type in diskdrake if they located on top of an old partition that contained a valid file system.
* Don't suggest mountpoint for ESP when doing a legacy boot install (mga#20164).Martin Whitaker2017-02-251-1/+1
| | | | | | When doing a UEFI install, we add a fstab entry to mount the ESP on /boot/EFI. This is neither required nor desirable when doing a legacy boot install, even if an ESP is present on the disk.
* Don't treat Empty or BIOS_GRUB partitions as free space (mga#20074).Martin Whitaker2017-02-251-1/+1
| | | | | | | The subroutine isEmpty() is used to identify free space on the disk (not DOS "Empty" partitions). Because we use a string to flag Empty and BIOS_GRUB partitions, rather than a numeric value, the numeric equality operator gives false positives.
* Preserve DOS "Empty" partitions instead of treating them as free space ↵Martin Whitaker2017-02-252-1/+2
| | | | | | | | | (mga#20074). To minimise the changes this close to mga6 release (and until we fix the bug in partition auto-allocation that mistakenly creates BIOS boot partitions non-GPT disks), reuse the BIOS_GRUB flag for flagging Empty partitions, as the real partition ID (0x00) is used to flag free space.
* Document new partition table object API used when writing partition tables.Martin Whitaker2017-02-251-0/+27
| | | | v2 (tvignaud): enhance doc
* Don't tell the kernel about partition table changes when it rescans them ↵Martin Whitaker2017-02-253-1/+15
| | | | | | | | | | | | | | | automatically (mga#20074). When no partitions on a DOS-partitioned disk are mounted, the kernel automatically rescans the partition table when it is written to disk. We shouldn't then try to update the kernel's view of the partition table, as the list of deltas we have recorded is relative to the previous state of the partition table, not the newly rescanned state. The behaviour for other partition table types is unchanged. v2 (tvignaud): just make base class assume the kernel doesn't reread, only mbr subclass overrides need_to_tell_kernel() in order to be smarter
* Ensure the kernel doesn't rescan a partially written partition table ↵Martin Whitaker2017-02-257-11/+36
| | | | | | | | | | | | | | | | | | | (mga#20074). When no partitions on a DOS-partitioned disk are mounted, the kernel automatically rescans the partition table when the file handle to the raw device is released. Currently the code opens and closes the raw device when writing the primary partition table and when writing each extended partition table segment. As the extended partition table segments form a linked list, this allows the kernel to get in and rescan the table when the list is not in a coherent state. This patch changes the code to open the raw device before writing the primary partition table and to close it only after writing the last extended partition table segment. The behaviour for other partition table types is unchanged. v2 (tvignaud): simplify by moving copies of noop funcs into the base class
* 2.22Thierry Vignaud2017-02-252-1/+2
|
* Revert "- Add 60-block.rules in the installer (mga#20074)"Thierry Vignaud2017-02-251-1/+0
| | | | | | | | | | | | | | | | | | This reverts commit bdac0595323a6417fb7365038c9777cde0060f58. Many testers are seeing the "I cannot read the partition table of device sda, it's too corrupted for me:(" message when the installer first examines the disks. It's likely that when the installer examines the partition table on the disk, that triggers the udev rule and causes the kernel to rescan the partition table. Unfortunately this coincides with the installer reading /proc/partitions to verify the kernel has the same view of the partitions, which can catch /proc/partitions in a partially updated state. After patching the ISO to remove the 60-block.rules file from stage 2, no failures happen in the installer.
* use SHA-512 instead of blowfishFrédéric Buclin2017-02-252-1/+2
| | | | | | as the default password encryption (mga#20342) thus completing commit c0529b4c5858300c0bd9c94fd35540e1f105dfd6
* Update German translation from TxYuri Chornoivan2017-02-241-4/+4
|
* restrict fdisk -l output to usefull disksThierry Vignaud2017-02-231-1/+1
| | | | | commit 325ab8add83e19c9dacd1b10ef6791441660f63a only handled "fdisk before/after", this trims the "fdisk" section too
* move installer release notes where they belongThierry Vignaud2017-02-222-1/+1
|
* - Add 60-block.rules in the installer (mga#20074)Nicolas Lécureuil2017-02-222-0/+2
|
* Update Tajik translation from TxYuri Chornoivan2017-02-211-3/+3
|
* Update Tajik translation from TxYuri Chornoivan2017-02-211-8/+8
|
* Update Tajik translation from TxYuri Chornoivan2017-02-211-1/+1
|
* Update Polish translation from TxYuri Chornoivan2017-02-171-3/+6
|
* Update Polish translation from TxYuri Chornoivan2017-02-171-4/+6
|
* Update Polish translation from TxYuri Chornoivan2017-02-171-4/+6
|
* Update Tajik translation from TxYuri Chornoivan2017-02-171-7/+7
|
* Update Tajik translation from TxYuri Chornoivan2017-02-171-15/+14
|
* Update Tajik translation from TxYuri Chornoivan2017-02-171-2/+2
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-3/+3
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-4/+4
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-12/+12
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-13/+14
|
* Update Tajik translation from TxYuri Chornoivan2017-02-161-4/+4
|
* Update Tajik translation from TxYuri Chornoivan2017-02-141-2/+2
|
* Update Tajik translation from TxYuri Chornoivan2017-02-141-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-141-126/+142
|
* Update Tajik translation from TxYuri Chornoivan2017-02-141-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-141-75/+75
|
* Update Catalan translation from TxYuri Chornoivan2017-02-131-2/+99
|
* Update Catalan translation from TxYuri Chornoivan2017-02-131-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-131-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-131-42/+48
|
* Update Tajik translation from TxYuri Chornoivan2017-02-121-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-121-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-121-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-121-1/+1
|
* Update Tajik translation from TxYuri Chornoivan2017-02-121-60/+74
|
* Update Tajik translation from TxYuri Chornoivan2017-02-111-726/+161
|
* Update Tajik translation from TxYuri Chornoivan2017-02-111-1021/+236
|
* Update Tajik translation from TxYuri Chornoivan2017-02-111-26/+50
|
* Update Tajik translation from TxYuri Chornoivan2017-02-111-365/+105
|
* Update Russian translationAlexey Loginov2017-02-051-1104/+314
|
* 2.42Thomas Backlund2017-02-042-1/+3
|
* - dosfstools 4.1 does not require 63 sector layout anymoreThomas Backlund2017-02-042-6/+9
| | | | on filesystems less than 512MB