Caio Carvalho
dff99ffcf5
Support RAID devices which are in resync/recovery process after its creation/assemble.
...
Revert modelCommand.output().trimmed().isEmpty() check in SfdiskBackend::scanDevice.
2018-07-15 12:06:54 -03:00
Caio Carvalho
a0b9a93b6b
Support inactive RAID devices.
2018-07-15 10:31:27 -03:00
Andrius Štikonas
5828e9daac
Scan LVM devices after RAID.
...
This should allow us to find LVM PVs that are on RAID devices.
2018-07-15 13:03:07 +01:00
Andrius Štikonas
fde4ac62a0
Bump version number.
2018-07-15 12:02:39 +01:00
l10n daemon script
79a6f5a192
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-07-15 05:17:11 +02:00
Andrius Štikonas
ce425ee04d
Exit if the previous KAuth helper is still running.
2018-07-15 01:13:54 +01:00
Andrius Štikonas
9a8166fe65
Remove qDebug message.
...
It shouldn't be necessary now. Helper exits reliably.
2018-07-15 00:35:55 +01:00
Andrius Štikonas
f572681684
Partially revert 252b108660
.
...
That commit broke LVM support.
2018-07-15 00:28:38 +01:00
Andrius Štikonas
51780a6297
Stop KAuth helper if application crashes.
...
This is implemented by pinging application from KAuth helper via DBus.
If it is busy then KAuth helper also waits for the current job to finish.
2018-07-15 00:09:39 +01:00
Andrius Štikonas
65ef6ab83d
Fix error message.
...
It was incorrectly saying DBus session bus instead of system bus.
2018-07-14 21:36:13 +01:00
Andrius Štikonas
252b108660
Abort LVM scanning when lvdisplay command fails.
2018-07-14 13:19:15 +01:00
Caio Carvalho
aa23ecdc3c
Software RAID devices can be created containing '/' character after 'md'. (e.g. /dev/md/alpha0)
2018-07-13 19:33:08 -03:00
Caio Carvalho
6803d6bc67
Including RAID level in SoftwareRAID device pretty name.
2018-07-13 17:56:13 -03:00
Caio Carvalho
b3e0dbe15a
Adding full command option for detail and stop Software RAID.
2018-07-13 16:20:38 -03:00
Caio Carvalho
d8602817f0
Adding reassemble method for SoftwareRAID.
2018-07-12 14:38:52 -03:00
Caio Carvalho
3f7c5ca722
Reassemble Software RAID when commit partition table.
2018-07-12 14:08:24 -03:00
Andrius Štikonas
b11b73b1e5
Remove extra semicolon after Q_UNUSED.
2018-07-12 00:12:43 +01:00
Andrius Štikonas
d51404c7f1
sfdisk: fix returned partition name
...
This makes it work with partitions such as /dev/mmcblk1p2
2018-07-11 23:36:20 +01:00
Caio Carvalho
e2f88dbbf9
Including SoftwareRAID attributes getters.
2018-07-11 12:03:44 -03:00
Caio Carvalho
a2d601d512
Checking for SoftwareRAID_Device type in partition table job.
2018-07-11 12:01:26 -03:00
Caio Carvalho
ab7def5e7d
Changing HardwareRAID_Device to FakeRAID_Device.
2018-07-11 11:57:56 -03:00
Caio Carvalho
a8b7222350
Check for SoftwareRAID devices in CreateFileSystemJob.
2018-07-10 23:04:55 -03:00
Caio Carvalho
ae8987b82c
Sfdisk always creates RAID logical partitions with a 'p' character before partition number.
2018-07-10 23:03:21 -03:00
Caio Carvalho
6c27d99f2c
Enabling to create and delete SoftwareRAID devices' partitions.
2018-07-10 20:03:59 -03:00
Caio Carvalho
04a5e2914d
Correctly showing Software RAID device partition table.
2018-07-10 19:09:22 -03:00
Caio Carvalho
c03c0ddc15
Including src/core/raid subdirectory.
2018-07-09 20:48:52 -03:00
Caio Carvalho
998b1292c0
SoftwareRAID initial implementation.
2018-07-09 20:01:34 -03:00
Andrius Štikonas
9e3386a53b
Static cast should be sufficient here
...
In the line above we already check if partition type is luks
2018-07-08 11:02:34 +01:00
Andrius Štikonas
0dd5ac25fd
Revert "Remove deprecated attribute for now."
...
This reverts commit 4bcf9288e6
.
2018-06-16 19:35:09 +01:00
l10n daemon script
11954f1185
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-16 05:31:52 +02:00
Andrius Štikonas
dc248c3011
Merge branch 'master' into kauth
2018-06-15 20:40:29 +01:00
Caio Carvalho
358957641b
Including LVM VG device scan in scanDevice in SfdiskBackend and LibPartedBackend. It was scanning only for DiskDevices.
2018-06-11 18:33:11 -03:00
Andrius Štikonas
83847a705e
Bump blkid requirement to 2.31.1
...
We actually need 2.32 for all features but at least 2.31.1 contains most
fixes and has already propagated to most distros.
2018-06-08 11:30:28 +01:00
Andrius Štikonas
858c0d660b
Drop soversion in a branch. There won't be any release on master branch
...
before merging kauth branch.
master already had soversion bump after the last release.
2018-06-08 11:25:29 +01:00
l10n daemon script
7497d509f4
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-07 05:41:48 +02:00
Caio Carvalho
9e6cf4063a
- Refactoring LVM::pvList to be a class with static QList<LvmPV> attribute instead of extern instance.
...
- Moving LVM VG verification in canShrink, canMove, canGrow to isLVMPVinNewlyVG method at ResizeOperation.
- Don't grow LVM PVs that are being targeted by CreateVolumeGroupOperations.
2018-05-09 04:09:17 -03:00
Caio Carvalho
6b0af70ccd
Avoiding segfault in DeleteOperation and ResizeOperation.
2018-05-07 22:56:24 -03:00
Caio Carvalho
1e95d01923
- Including vgName in CreateVolumeGroupOperation description.
...
- Don't delete LVM PVs that are being targeted by CreateVolumeGroupOperations.
- Don't shrink or move LVM PVs that are being targeted by CreateVolumeGroupOperations.
2018-05-07 21:55:49 -03:00
Caio Carvalho
34cfc63da4
Including CreateVolumeGroupOperation::targets(const Partition&) implementation.
2018-05-03 20:48:11 -03:00
Andrius Štikonas
c791e4546c
Remove findLIBPARTED.cmake
2018-04-23 14:18:20 +03:00
Andrius Štikonas
40f59a4870
Rename LUKS open and close Labels to "Lock" and "Unlock"
...
BUG: 393409
2018-04-23 11:05:44 +03:00
l10n daemon script
b3a8a3874f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-04-23 05:26:25 +02:00
Andrius Štikonas
dcfb9f181f
Use more C++11 initializer lists.
2018-04-23 00:09:46 +03:00
Andrius Štikonas
ea664bfffc
Set polkit action icon to partitionmanager.
2018-04-21 21:34:24 +03:00
Andrius Štikonas
0d29dc8a6b
Fix class/struct mismatch in forward declaration.
2018-04-18 21:46:15 +03:00
Andrius Štikonas
a43d5bbc5b
fatresize is libparted based, so does not support FAT12.
2018-04-16 11:32:29 +03:00
Andrius Štikonas
99c14ad074
Correctly report when excutable is not found.
2018-04-16 11:06:13 +03:00
Andrius Štikonas
5814c6c02a
Allow setting KAuth parent widget.
2018-04-15 01:35:29 +03:00
Andrius Štikonas
4b1793f79b
Update backend name in the docs.
2018-04-15 01:09:48 +03:00
Andrius Štikonas
145f54f18c
Move KAuth helper setup code to ExternalCommand class.
...
Delay helper startup until it is actually required.
2018-04-14 23:55:05 +03:00