Adriaan de Groot
d931b146e3
[partition] Shuffle new conveniences into partition service
...
- the general stuff from KPMHelpers ends up in the partition
service; that only gets compiled when KPMCore is available anyway.
2020-02-13 13:48:12 +01:00
Adriaan de Groot
e72ecaafd3
Merge branch 'kpmcore-manager'
...
Introduces a "partitioning service" into libcalamares,
shuffles a bunch of things into it, tries to help out
with settling the system between partitioning actions.
2020-02-13 13:41:53 +01:00
Adriaan de Groot
29894cec6a
[partition] Convenience userVisibleFS()
...
- Mark uses of filesystem-name where it's intentional that they
are user-visible, with a new convenience function.
2020-02-13 11:22:09 +01:00
Adriaan de Groot
a0449abab9
[partition] Do not translate filesystem names
...
- Move contents of FSName to KPMHelpers
- Use the new functions from FillGlobalStorage
Needs more use in the rest of the partition module.
2020-02-13 11:06:53 +01:00
Adriaan de Groot
d039f9bbb8
[partition] Remove initKPMCore() from KPMHelpers
...
- This is a job for KPMManager, from the partition service.
- In tests, needs to be a little hackish.
2019-06-13 23:39:06 +02:00
Adriaan de Groot
8eb04a082e
[libcalamares] Move FS-related code to partition service
...
- only moves one function right now, providing user-visible
name for filesystem name.
2019-06-13 14:55:43 +02:00
Adriaan de Groot
4b3bb54320
[libcalamares] Move partition-finding into libcalamares
...
- Moved from KPMHelpers to the partition service
- The is-partition and find-partition methods that make sense
in general, are moved to libcalamares.
2019-06-13 14:41:33 +02:00
Adriaan de Groot
3930826e93
[fsresizer] [partition] Drop special cases for kpmcore 3.3.1
2019-06-13 14:10:49 +02:00
Adriaan de Groot
3533bb3c2d
Merge branch 'master' into issue-1061
2019-04-24 12:26:01 -04:00
Adriaan de Groot
4e24ea29e2
[partition] [fsresizer] Adjust to post-3.3.0 API
...
- KDE neon ships a post-3.3.0 KPMCore, with deprecations, but not yet
the KPMCore 4 API, so add another API-version check to handle the
deprecations. Keeps warnings down.
2019-04-12 12:44:59 +02:00
Adriaan de Groot
c0710cabe4
[partition] [fsresizer] Adjust to new #define
...
- Using KPMCORE4API is clearer than just relying on a version number
2019-04-12 12:16:55 +02:00
Adriaan de Groot
df921606b9
[partition] Update copyright headers
...
- Files modified in 2019 by me
2019-04-01 07:55:14 -04:00
Adriaan de Groot
68f29ebf20
[partition] Handle partition flag FlagEsp post KPMCore 3.3.0
2019-03-20 18:13:39 +01:00
Adriaan de Groot
2a2795c54c
[partition] Avoid KPMCore warnings
...
- Get ready for KPMCore post-3.3.0, which deprecates a bunch of
Flag<foo> and State<foo> in preparation of enum classes.
2019-03-20 18:13:39 +01:00
Adriaan de Groot
8144295e98
[partition] Make new partition flags explicit
...
Suggested by aliveafter1000: having a default value, and then
filling in the default in one place it is used and not others,
is weird. Instead of dropping the one use, remove the default
value: partition flags are important enough to be explicit.
2018-11-09 08:25:26 -05:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Teo Mrnjavac
0dfe627d52
Add KPMHelpers::createNewEncryptedPartition.
2016-05-06 18:59:51 +02:00
Teo Mrnjavac
c233fb3b2d
Allow setting flags when creating a partition.
2016-03-08 12:50:45 +01:00
Teo Mrnjavac
2986625cfd
PrettyName generator for FileSystem::Type.
2015-12-30 17:27:13 +01:00
Teo Mrnjavac
5f54a56513
PMUtils is now KPMHelpers. Also fixup after PartUtils refactor.
2015-09-18 15:41:07 +02:00