Adriaan de Groot
c522004575
[partition] Mount fs read-only when searching for fstab
...
Submitted by aliveafter1000
FIXES : #1044
CLOSES : #1050
2018-11-12 15:26:15 +01:00
Adriaan de Groot
6de55e6951
[partition] Construct, then winnow, the fstab entries
2018-11-02 12:13:29 -04:00
Adriaan de Groot
516ae494bf
[partition] Complain if unmount fails
...
- If unmount fails, then warn and don't autoremove
2018-11-02 12:04:09 -04:00
Adriaan de Groot
bd1b482242
[partition] Don't autoremove the tempdir
...
- Dangerout since we're mounting things inside that tempdir,
and then doing a "weak" unmount
2018-11-02 11:58:49 -04:00
Adriaan de Groot
f1c1d07dca
[partition] Add convenience methods to FstabEntry
...
- Add something like a constructor
- Add validity checking
2018-11-02 11:57:49 -04:00
Adriaan de Groot
cbd62fbeb1
Merge branch 'master' into secureboot
2018-05-28 05:04:03 -04:00
Adriaan de Groot
5bcd6eaef8
[partition] Reduce warnings by removing unused code
2018-05-21 06:30:54 -04:00
Adriaan de Groot
336b8c758a
[partition] Consider the future flags when checking EFI bootability
...
- If we're changing the flags to enable EFI boot, then that's
enough to satisfy the (future) EFI bootability check.
This is for issue #622 as well. Fixes #884 .
2018-05-16 07:33:04 -04:00
Adriaan de Groot
092529da45
[partition] WIP: EFI partition search
...
- Add some logging (not even sure it compiles) because
my openSUSE Krypton Secureboot-enabled VM says
"no EFI system partitions found".
2018-02-19 10:25:00 -05:00
Adriaan de Groot
3ae126f589
[modules] Use cError() as well
...
- Switch KPMHelpers to using Calamares logging instead of qDebug()
2018-02-13 11:59:38 +01:00
Adriaan de Groot
94b6c95c44
[partition] Introduce function for checking various flag-combinations for ESP boot.
2018-01-09 10:53:33 -05:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Adriaan de Groot
3e5916157f
A mounted partition cannot be resized or replaced
...
- add check for isMounted()
- a device with a mounted partition cannot be (entirely) erased
FIXES #639
2017-09-07 04:55:44 -04:00
Adriaan de Groot
7e66499f36
Refactor check for EFI system.
...
The TODO stands, to delegate this to KPMCore.
2017-08-28 05:36:45 -04:00
Adriaan de Groot
102bed1805
Partitions: split device-listing (and winnowing) into separate source file.
...
The grab-list-of-writable-devices code is usable for the partition module, but
also useful for welcome module, so reduce its footprint.
2017-07-12 04:52:52 -04:00
Adriaan de Groot
5bf03cc515
Partitions: shuffle some device-detection code off to PartUtils.cpp
2017-07-11 06:27:19 -04:00
Rohan Garg
bba2f65079
Add additional variables to help improve readability
2017-04-20 01:38:30 +02:00
Teo Mrnjavac
40eba50821
Improve debug output.
2016-12-23 14:17:57 +01:00
Teo Mrnjavac
244b4dff83
Improve debug output.
2016-12-23 14:03:47 +01:00
Andrius Štikonas
9f0ca042fe
Port away from most cases of Q_FOREACH to C++11 ranged for loop.
...
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
2016-09-01 16:46:14 +01:00
Teo Mrnjavac
811261258b
Try to load filesystem UUIDs into the OsproberEntryList structure.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
18b6e56271
nullptr safety.
2016-07-28 17:53:54 +02:00
Teo Mrnjavac
be3070ca48
Populate /home partition path, if any.
2016-07-22 16:36:26 +02:00
Teo Mrnjavac
f2f5a18984
Reading a system's fstab lines into the osprober entries list.
2016-07-22 16:36:26 +02:00
Chantara Tith
fd8c131b26
implement free-space partition replace install
2016-03-18 17:09:50 +07:00
Teo Mrnjavac
a0055534a1
Disallow replace/resize on free space.
...
CAL-359 #close
2016-03-10 12:58:10 +01:00
Teo Mrnjavac
5372245aed
Copyright statements.
2016-02-12 17:19:30 +01:00
Teo Mrnjavac
a9c6b47e5e
Check whether a new primary partition can be created in canBeResized.
2016-02-12 16:36:50 +01:00
Teo Mrnjavac
935c4816d3
New partition replace check.
2016-02-12 15:02:49 +01:00
Teo Mrnjavac
01eede3f6e
Split out a canBeResized overload that takes a Partition*.
2016-02-11 16:52:21 +01:00
Teo Mrnjavac
e277467ed4
Run osprober after we have a working DeviceModel.
2015-12-30 17:27:13 +01:00
Teo Mrnjavac
fc54b9bf40
Debug spam.
2015-12-30 17:27:13 +01:00
Teo Mrnjavac
95e87391a4
Refactor Osprober and resizability logic out ot PartitionViewStep.
2015-09-18 15:39:49 +02:00