31 Commits (516ae494bf07dc8ebcecaab008f1120813869273)

Author SHA1 Message Date
Adriaan de Groot 516ae494bf [partition] Complain if unmount fails
- If unmount fails, then warn and don't autoremove
7 years ago
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
7 years ago
Adriaan de Groot f1c1d07dca [partition] Add convenience methods to FstabEntry
- Add something like a constructor
 - Add validity checking
7 years ago
Adriaan de Groot cbd62fbeb1 Merge branch 'master' into secureboot 7 years ago
Adriaan de Groot 5bcd6eaef8 [partition] Reduce warnings by removing unused code 8 years ago
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.
8 years ago
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".
8 years ago
Adriaan de Groot 3ae126f589 [modules] Use cError() as well
- Switch KPMHelpers to using Calamares logging instead of qDebug()
8 years ago
Adriaan de Groot 94b6c95c44 [partition] Introduce function for checking various flag-combinations for ESP boot. 8 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
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
8 years ago
Adriaan de Groot 7e66499f36 Refactor check for EFI system.
The TODO stands, to delegate this to KPMCore.
8 years ago
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.
8 years ago
Adriaan de Groot 5bf03cc515 Partitions: shuffle some device-detection code off to PartUtils.cpp 8 years ago
Rohan Garg bba2f65079
Add additional variables to help improve readability 9 years ago
Teo Mrnjavac 40eba50821 Improve debug output. 9 years ago
Teo Mrnjavac 244b4dff83 Improve debug output. 9 years ago
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)
9 years ago
Teo Mrnjavac 811261258b Try to load filesystem UUIDs into the OsproberEntryList structure. 9 years ago
Teo Mrnjavac 18b6e56271 nullptr safety. 9 years ago
Teo Mrnjavac be3070ca48 Populate /home partition path, if any. 9 years ago
Teo Mrnjavac f2f5a18984 Reading a system's fstab lines into the osprober entries list. 9 years ago
Chantara Tith fd8c131b26 implement free-space partition replace install 10 years ago
Teo Mrnjavac a0055534a1 Disallow replace/resize on free space.
CAL-359 #close
10 years ago
Teo Mrnjavac 5372245aed Copyright statements. 10 years ago
Teo Mrnjavac a9c6b47e5e Check whether a new primary partition can be created in canBeResized. 10 years ago
Teo Mrnjavac 935c4816d3 New partition replace check. 10 years ago
Teo Mrnjavac 01eede3f6e Split out a canBeResized overload that takes a Partition*. 10 years ago
Teo Mrnjavac e277467ed4 Run osprober after we have a working DeviceModel. 10 years ago
Teo Mrnjavac fc54b9bf40 Debug spam. 10 years ago
Teo Mrnjavac 95e87391a4 Refactor Osprober and resizability logic out ot PartitionViewStep. 10 years ago