mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Check if the filesystem to be resized actually supports grow/shrink.
This commit is contained in:
parent
a58857baa6
commit
9c10b49802
1 changed files with 4 additions and 0 deletions
|
@ -296,6 +296,10 @@ PartitionViewStep::canBeResized( const QString& partitionPath )
|
|||
if ( candidate )
|
||||
{
|
||||
cDebug() << "found Partition* for" << partitionWithOs;
|
||||
if ( !candidate->fileSystem().supportGrow() ||
|
||||
!candidate->fileSystem().supportShrink() )
|
||||
return false;
|
||||
|
||||
bool ok = false;
|
||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue