summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* When writing a GPT partition table, merge all actions into a single commit.Martin Whitaker2017-03-143-83/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids unnecessary udev events, which in some cases were causing udevd to trigger a kernel partition table reread, causing the kernel to get out of sync with drakx. In order to do so, the libparted bindings are enhanced so that we manipulate a 'ped_disk' object: - disk_open() returns such an object - set_disk_type() is removed - disk_commit() writes back the partition table and tell the kernel about it if we fails to write the partition table, we let partition_table::write() fire an exceptionc if we only have succeed in writing the partition table, we let partition_table::write() try harder (umounting partitions before trying againt to tell the kernel again) - need_to_tell_kernel() is overrided The last change is needed because we now tell the kernel about the new partition layout in partition_table::gpt::write() when calling disk_commit() while previously we were deferring that to partition_table::write() which after having called the gpt's write() calls tell_kernel() -> c::tell_kernel_to_reread_partition_table() So we must tell partition_table::write() that telling the kernel to reread the partition_table is not needed if we already succeeded in that.
* fix indentationMartin Whitaker2017-03-141-1/+1
|
* simplify using ped_disk_probe()Martin Whitaker2017-03-141-4/+3
|
* Remove redundant code when initialising a partition table.Martin Whitaker2017-03-142-22/+3
| | | | | | Now we force the kernel to reread the partition table when we initialise it, there's no need to also inform it that we've deleted all the existing partitions.
* Record the partition table type when initialising a partition table.Martin Whitaker2017-03-141-0/+1
| | | | | | | | When performing an automatic install that uses the clear or clearall option, we don't read the current partition table, so the current partition table type was not getting recorded in $hd->{pt_table_type}. This information is needed to determine whether a BIOS boot partition is required.
* Revised fix for clearing GPT partitions during automatic install.Martin Whitaker2017-03-142-7/+12
| | | | | | | | | | | | | | | | This reverts commit 532fd1d60df306e204bae79c5158ca2302739966, which introduced a new bug when clearing GPT partitions in an interactive session (mga#20264), and replaces it with a new solution. When a partition table is initialised, we now add an 'init' action to the $hd->{will_tell_kernel} list. This is used both by gpt::write() (to clear the partition table) and by partition_table::tell_kernel() (to force the kernel to reread the partition table). Previous changes stored in $hd->{will_tell_kernel} are discarded, as they are no longer of interest. This also removes support for the will_tell_kernel 'force_reboot' action, as nothing uses that any more.
* Update Tajik translation from TxYuri Chornoivan2017-03-141-11/+11
|
* Update Tajik translation from TxYuri Chornoivan2017-03-141-13/+15
|
* Update Tajik translation from TxYuri Chornoivan2017-03-141-2/+2
|
* Update Hungarian translation from TxYuri Chornoivan2017-03-141-62/+9
|
* Update Hungarian translation from TxYuri Chornoivan2017-03-141-50/+2
|
* Update Hungarian translation from TxYuri Chornoivan2017-03-141-3/+4
|
* 17.7417.74Jani Välimaa2017-03-093-1/+5
|
* Update translations (e17 -> e21)Jani Välimaa2017-03-0973-100/+102
|
* Recognize LXQt (Razor-qt is now LXQt)Jani Välimaa2017-03-092-1/+2
|
* Fix Enlightenment (e21) recognitionJani Välimaa2017-03-092-1/+3
|
* 17.7317.73Thierry Vignaud2017-03-083-1/+5
|
* explainThierry Vignaud2017-03-071-2/+3
|
* sort video∕input driversThierry Vignaud2017-03-071-1/+1
|
* include libinput-list-devices (mga#20327)Thierry Vignaud2017-03-071-0/+1
|
* (get_partition_flag) kill itThierry Vignaud2017-03-061-22/+0
| | | | it's unused since commit 1daabebda57976579465e5c281eaa14088e0e37f
* add example how to include debuginfoThierry Vignaud2017-03-062-0/+6
| | | | eg: for ldetect & drakxtools
* list input & HID devices in report.bug (mga#20327)Thierry Vignaud2017-03-062-0/+3
|
* bind hid_probe()Thierry Vignaud2017-03-061-0/+16
| | | | | | Needed for next commit It could also be later used for drakx's lspci (like for ldetect's lspcidrake)
* make it work with gdb-7.12Thierry Vignaud2017-03-062-9/+23
| | | | | Even with previous commit, we still need a bunch of new python/scheme modules
* prevent gdb to compile guile scriptsThierry Vignaud2017-03-061-0/+1
| | | | | | Else it wants to much modules to ever track and we've RO path anyway. Otherwise we might want to include guile-runtime's .go files too in order to get rid of warnings.
* preset keyboard if DEBUG_INSTALL_LANG is setThierry Vignaud2017-03-062-0/+3
| | | | useful when doing a debug build
* make "(add, " messages end in logsThierry Vignaud2017-03-061-1/+1
| | | | | rather than lost on console printf() was introduced in commit 9e6b327ca2b1f46db62e0811fabf0a6cf0b114a7
* Make sure to leave Session empty in sddm.conf if no desktop is selected ↵Frédéric Buclin2017-03-061-1/+1
| | | | (mga#19234)
* Update German translation from TxYuri Chornoivan2017-02-271-3/+3
|
* 2.43Thierry Vignaud2017-02-252-1/+3
|
* 2.23Thierry Vignaud2017-02-252-1/+2
|
* sync with kernel-4.8Thierry Vignaud2017-02-255-4/+12
|
* 17.7217.72Thierry Vignaud2017-02-253-1/+5
|
* Update installer NEWS.Martin Whitaker2017-02-251-1/+6
|
* Update NEWSMartin Whitaker2017-02-251-0/+10
|
* Always tell the kernel about partition table changes when running the ↵Martin Whitaker2017-02-251-4/+8
| | | | | | | | classic installer (mga#20074). The automatic rescan of the partition table is triggered by udevd. The udev rule that causes this is not present on the cut-down system that runs the classic installer.
* Inhibit udisks2 when running drakdisk (mga#20247).Martin Whitaker2017-02-252-1/+13
| | | | | | This prevents disks/partitions being auto-mounted by e.g. Thunar when drakdisk probes the disks or makes changes, which can lead to disk corruption.
* explicitly probe LVMs in live installThierry Vignaud2017-02-251-1/+1
|
* Exclude x11-driver-video-vmware from unneeded packages (mga#19979).Martin Whitaker2017-02-251-1/+1
| | | | | It's required by x11-driver-video, and removing that orphans all the other required x11 video driver packages.
* Allow a BIOS boot partition to be located on any disk (mga#20161).Martin Whitaker2017-02-252-19/+18
| | | | | | | This relaxes the rules in fs::any::is_boot_bios_part_needed to allow the BIOS boot partition to be located on any disk, not just the disk containing the root partition. It also ensures that a BIOS boot partition is never forcibly required in a system with non-GPT disks.
* Fix auto-allocation of BIOS boot partitions (mga#20161, mga#19888).Martin Whitaker2017-02-252-3/+19
| | | | | | | | | | | | | | | | | This adds a specific subroutine, fsedit::auto_allocate_boot_bios_parts that detects if a BIOS boot partition is needed and allocates it if so. This allows us to relax the rules in fs::any::is_boot_bios_part_needed to allow the user to manually allocate the BIOS boot partition on a different device if they so wish. In the normal case that installation is confined to a single disk, this will allocate a single BIOS boot partition on that disk. In the rare case that installation is spread over multiple disks, it will allocate a BIOS boot partition on every disk. Given that the BIOS boot partitions are very small and that this is not a normal use case (see mga#16055), this seems an acceptable quirk - and does allow the user to then choose any disk when installing the boot loader.
* Rename partition_table::_default_type to partition_table::default_type.Martin Whitaker2017-02-251-3/+3
| | | | The following patches want to use it outside the partition_table module.
* Fix erratic behaviour when telling kernel to delete partitions (mga#20074).Martin Whitaker2017-02-251-4/+0
| | | | | | | | | | | When telling the kernel about changes to a DOS partition table, if a partition was deleted on a disk that also contained an Empty partition, the kernel also removed the Empty partition from its cached partition table (and renumbered the other partitions). Experimentation showed that leaving the udev exec queue active whilst we were telling the kernel about the changes fixed this problem, although I don't have an explanation for why it does.
* 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