Andrius Štikonas
4080eef0ba
Set FlagBoot = FlagEsp and deprecate it.
2018-09-01 21:27:05 +01:00
Andrius Štikonas
046f17fa68
sfdisk: Make FlagEsp alias for FlagBoot
2018-09-01 18:40:10 +01:00
Caio Carvalho
8b28001ae2
Pausing udev events during commit of RAID partition tables to map its logical partitions.
2018-07-24 03:12:02 -03:00
Andrius Štikonas
700dddb875
Do not reassemble RAID devices after partition table commit.
...
Reassembling RAID devices causes devices to disappear and
reappear with a different name.
2018-07-23 22:54:11 +01:00
Andrius Štikonas
2579d04229
Remove ExternalCommand::waitFor.
...
This is no longer used with KAuth.
ExternalCommand::start now waits until command finishes.
2018-07-21 21:19:34 +01:00
Andrius Štikonas
985b353146
Use QString::back().
2018-07-18 23:23:34 +01: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
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
ae8987b82c
Sfdisk always creates RAID logical partitions with a 'p' character before partition number.
2018-07-10 23:03:21 -03:00
Andrius Štikonas
07458efb91
Make sure system is informed about the change of file system label.
2018-04-13 15:54:51 +03:00
Andrius Štikonas
6b558f49d8
Use blockdev --rereadpt instead of partx --update.
2018-04-13 13:08:43 +03:00
Andrius Štikonas
17c8772240
Explicitely specify the scope of enum.
2018-04-07 19:54:30 +01:00
Andrius Štikonas
9ea7cab92a
Merge branch 'master' into kauth
2018-01-31 15:15:25 +00:00
Andrius Štikonas
7e8f64ffd7
Fix a possibly uninitialized variable.
2018-01-31 14:58:43 +00:00
Andrius Štikonas
a6a69b1e31
Merge branch 'sfdisk' into kauth
2017-12-25 00:13:18 +00:00
Andrius Štikonas
41570fde5d
Set FAT12 MBR/GPT partition type.
2017-12-24 23:56:03 +00:00
Andrius Štikonas
f20bea9bf8
Merge branch 'sfdisk' into kauth
2017-12-24 23:40:06 +00:00
Andrius Štikonas
f9cd824075
Add a comment about boot flags.
2017-12-20 15:03:48 +00:00
Andrius Štikonas
f8cbd28238
Remove FIXME that was already fixed.
2017-12-16 12:55:34 +00:00
Andrius Štikonas
47429dd1bf
Proof of concept attempt to implement KAuth.
2017-12-10 17:36:39 +00:00
Andrius Štikonas
c3827b0c60
Call kpartx to reread partition table.
2017-12-09 23:29:18 +00:00
Andrius Štikonas
e3d01cf25f
Do not attempt to set empty partition type.
2017-12-09 19:19:36 +00:00
Andrius Štikonas
4c2efe8c52
Add partition type map.
2017-12-07 23:24:03 +00:00
Andrius Štikonas
55b8cd3e6b
sfdisk: store a pointer to the device in SfdiskPartitionTable class.
2017-12-07 20:50:54 +00:00
Andrius Štikonas
d27455b6f0
Avoid unnecessary QString encoding/decoding.
...
CCBUG: 384321
2017-12-04 21:19:11 +00:00
Andrius Štikonas
f09cb6435e
Fix conversion to/from QByteArray in sfdisk backend.
...
CCBUG: 384321
2017-12-03 12:40:57 +00:00
Andrius Štikonas
d3cde41df0
Allow setting boot, esp and bios-grub flags in sfdisk backend.
2017-11-08 00:01:24 +00:00
Andrius Štikonas
80de99fc73
Move setFlags function from CoreBackendPartition to CoreBackendPartitionTable.
...
setFlags function now takes additional argument const Partition& partition.
This allows us to completely remove CoreBackendPartition class.
Remove getPartitionBySector and getExtendedPartitions.
These functions were designed around libparted API and are not very convenient
with other backends.
2017-11-07 22:55:28 +00:00
Andrius Štikonas
0d88e26c8c
Add an experimental sfdisk backend.
2017-11-07 22:51:29 +00:00